Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Extracting Tables and columns with data types from a database

Reply
Thread Tools

Extracting Tables and columns with data types from a database

 
 
RSH
Guest
Posts: n/a
 
      06-02-2005
Im trying to write a simple app that will show all of the user created
tables along with their columns and column datatypes.

Any suggestions on how to approach this???

Thanks!


 
Reply With Quote
 
 
 
 
Eliyahu Goldin
Guest
Posts: n/a
 
      06-02-2005
For this you need to access the database metadata. In SQL server you can
obtain metadata either with system stored procedures or with information
schema views. Search your database documentation for "metadata".

Eliyahu

"RSH" <> wrote in message
news:uZQ%...
> Im trying to write a simple app that will show all of the user created
> tables along with their columns and column datatypes.
>
> Any suggestions on how to approach this???
>
> Thanks!
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

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
DataBase DataBase DataBase DataBase scott93727@gmail.com Computer Information 0 09-26-2012 09:40 AM
How to get database metadata information (i.e. existing tables and columns in tables) Chris Brat Python 5 08-22-2006 05:25 PM
Adding different columns to a datagrid from different tables in the database nmsreddi ASP .Net Web Controls 1 06-09-2006 09:03 AM
database columns vs. gui columns and sorting ittay.dror@gmail.com Java 5 03-04-2006 10:48 AM
equivalent c data types for vc++ data types ramu C Programming 2 02-20-2006 09:33 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57