Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friend,
How to display all the tables in the database..Advance Thanks..
Posted

hello friend,

select * from sys.tables

hope this will help you
 
Share this answer
 
v3
Comments
damodara naidu betha 7-Nov-12 0:25am    
this works only in SQL server. But the answer is correct. My 5+
Use :
SQL
select * from INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE'
 
Share this answer
 
can we find the user name and time of change in table
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900