Home All Groups Group Topic Archive Search About

A question on Types coming from a Database

Author
30 Mar 2006 10:27 PM
pamelafluente
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

Author
31 Mar 2006 8:04 AM
Cor Ligthert [MVP]
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

<pamelaflue***@libero.it> schreef in bericht
Show quoteHide quote
news:1143757670.121407.262800@g10g2000cwb.googlegroups.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
>