Extracting Tables and columns with data types from a database

R

RSH

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!
 
E

Eliyahu Goldin

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
 

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

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top