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.
 
Back
Top