combo to show list of tables

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

SELECT DISTINCT MSysObjects.Name FROM MSysObjects;

how if i want to get only tables? any help
 
Add "WHERE Type = 1" to your SQL.

To exclude the system tables, use:

SELECT DISTINCT MSysObjects.Name FROM MSysObjects WHERE Name Not Like
"msys*" AND Type=1;

HTH,

Rob
 
thanks to both of you for respose and help . tested both and it is working
perfect.
thanks again.
 

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

Back
Top