473,320 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

A question on Types coming from a Database

Hi,
While for the various NET types: Boolean, Decimal, ... , String, Char,
BYTE [] , I have seen them sometines appear as a result of a SELECT
from a Database,

I would like to ask, given a generical OLEDB connection to a database,
is it ever *possible* that the data would be rendered in one of the
following type:

SByte
TimeSpan
Byte
UInt16
UInt32
UInt64

and what type are impossible? Thank you in advance,

-Pam

Mar 30 '06 #1
1 985
Pam,
If you don't get your answer here, can you than retry this question in the
newsgroup

microsoft.public.dotnet.framework.adonet.

If you are lucky than Frans can maybe give an as best as known answer this
question.
However in my opinion you will never get on this question never get a
complete answer as long as you don't specify which databases. Almost all
databases can be handled with OleDb and nobody knows all those databases in
this detail.

I hope this helps,
Cor

<pa***********@libero.it> schreef in bericht
news:11**********************@g10g2000cwb.googlegr oups.com...
Hi,
While for the various NET types: Boolean, Decimal, ... , String, Char,
BYTE [] , I have seen them sometines appear as a result of a SELECT
from a Database,

I would like to ask, given a generical OLEDB connection to a database,
is it ever *possible* that the data would be rendered in one of the
following type:

SByte
TimeSpan
Byte
UInt16
UInt32
UInt64

and what type are impossible? Thank you in advance,

-Pam

Mar 31 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Shailesh | last post by:
One problem I've been wrestling with for a long time is how to use the C++ integral data types, vis-a-vis their size. The C++ rules guarantee that a char is at least 1 bytes, a short and int at...
11
by: mesut demir | last post by:
Hi All, When I create fields (in files) I need assign a data type like char, varchar, money etc. I have some questions about the data types when you create fields in a file. What is the...
2
by: Luis Arvayo | last post by:
Hi, In c#, I need to dynamically create types at runtime that will consist of the following: - inherits from a given interface - will have a constructor with an int argument
0
by: jehugaleahsa | last post by:
Try this instead: // T - the type you are attempting to retrieve. // o - the data that you want to turn into a T T get<T>(object o) { // handle nulls - turns Nullables into null, reference...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.