PC Review


Reply
Thread Tools Rate Thread

Data Types - Names

 
 
Mythran
Guest
Posts: n/a
 
      15th Jul 2003
I use the ODBC method GetTableSchema (GetSchemaTable??? ...) to get the schema
for the specified table. I have two fields in this table that I need a little
help with.

First table is DataType which maps to the underlying system datatype. How can I
convert this to a string to store in a variable?

Next is ProviderType which is dependant on the provider. As of now, I only use
two different providers, SQL Server and MSAccess. ProviderType field returns a
number which needs to be converted to the name of the datatype the number
represents. If possible, I would like to convert for any provider listed, but
SQL Server and MSAccess are the two most important if the rest can't be done at
the same time.

Thanks in advance!

Mythran


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Design view information - exporting field names, data types & desc NatP Microsoft Access 1 29th Jul 2009 03:09 AM
grouping together user defined data types and collections of those types Andy B. Microsoft VB .NET 2 27th Feb 2009 12:08 PM
append parameter - data types in adp that correspond to sql data types Keith G Hicks Microsoft Access ADP SQL Server 1 5th Nov 2007 10:56 PM
OracleDataAdapter.Fill not mapping Oracle data types to .NET data types news.microsoft.com Microsoft ADO .NET 9 13th Oct 2005 08:01 PM
How can I print all the field names & data types from a table M.Siler Microsoft Access 14 28th Oct 2004 08:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:30 AM.