how to get table list and there structure in sql server -


how can table list , structure sql server.. use following code database list sql server.

select * sys.databases sys.databases.database_id > 4 

this query return's database "name" , "id" , many other fied...

and .net app show bind list dropdown... need table list of selected database in dropdown on basis of it's id...

what query table list of selected database.

select name sys.tables type = 'u'  --u = user defined tables opposed system tables 

Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

c++ - Clear the memory after returning a vector in a function -

erlang - Saving a digraph to mnesia is hindered because of its side-effects -