is there any standard way to.. Data Types

  • Thread starter Thread starter Daniel Bello Urizarri
  • Start date Start date
D

Daniel Bello Urizarri

Hi:

Is there any standard way to ask for the data types on a data base:
Something like:

SELECT * FROM INFORMATION_SCHEMA.DATA_TYPES

to get something like: char, int, image, varchar, money....

So later I can do something like:

CREATE TABLE NewTable (NewField
_Field_Type_selected_by_user_from_a_combo_box_)

Thanks
 
You might take a look at
OleDbConnection.GetOleDbSchemaTable Method
 
Hi:

GetOleDbSchemaTable is ok with OleDb, but suppose im using an unknown
database through an unknown ADO.NET driver. I want to have an standard
alternative for that case. Some kind of INFORMATION_SCHEMA views or some
other standar way of asking for information. Is there any?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top