How to list all table names in ms access

Cara pertama:

SELECT MSysObjects.Name FROM MSysObjects WHERE (((MSysObjects.Flags)=0) AND ((MSysObjects.Type)=1)) ORDER BY MSysObjects.Name

Cara kedua:

SELECT Name
FROM MSysObjects
WHERE
Left([Name],1)<>”~”
AND
Left([Name],4)<>”MSys”
AND
Type In (1,4,6)
ORDER BY Name;

Advertisement
  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.