Click here to Skip to main content
15,899,474 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to get names and count of tables in a database from sqlserver and MSAccess?
could u help me pls?
Posted

 
Share this answer
 
For SQL, you can use sysobjects and for MS Access I guess MSysObjects can be used.
SQL
SELECT * FROM sysobjects WHERE type = 'U' 
SELECT * FROM MSysObjects WHERE Type=1 AND Flags=0
 
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