System Tables in MS Access

S

savalco

It has been a while since I wrote SQL and I seem to have a had a brain
freeze... I want to choose a table name (that I created) in a drop down
combo... What table do I select from?? In oracle I believe it was
systables... thanks.
 
D

Douglas J. Steele

MSysObjects.

The specific query will be:

SELECT [Name]
FROM MSysObjects
WHERE [Name] Not Like "msys*"
AND [Type] In 1,4,6
ORDER BY [Name]

Type 1 is tables in the front end, Type 6 are linked tables, Type 4 are ODBC
tables.
 
S

savalco

wow that was quick!! Thanks for your help! Guess I am not the only amature to
have asked that Q!!
 
B

Big Man

What about for "syscolumns" what is the specific query for that?

Big Man


Douglas J. Steele said:
MSysObjects.

The specific query will be:

SELECT [Name]
FROM MSysObjects
WHERE [Name] Not Like "msys*"
AND [Type] In 1,4,6
ORDER BY [Name]

Type 1 is tables in the front end, Type 6 are linked tables, Type 4 are ODBC
tables.


--
Doug Steele, Microsoft Access MVP

(no private e-mails, please)


savalco said:
It has been a while since I wrote SQL and I seem to have a had a brain
freeze... I want to choose a table name (that I created) in a drop down
combo... What table do I select from?? In oracle I believe it was
systables... thanks.
 
D

Douglas J. Steele

Sorry, there isn't a syscolumns equivalent in Access.

--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)


Big Man said:
What about for "syscolumns" what is the specific query for that?

Big Man


Douglas J. Steele said:
MSysObjects.

The specific query will be:

SELECT [Name]
FROM MSysObjects
WHERE [Name] Not Like "msys*"
AND [Type] In 1,4,6
ORDER BY [Name]

Type 1 is tables in the front end, Type 6 are linked tables, Type 4 are
ODBC
tables.


--
Doug Steele, Microsoft Access MVP

(no private e-mails, please)


savalco said:
It has been a while since I wrote SQL and I seem to have a had a brain
freeze... I want to choose a table name (that I created) in a drop down
combo... What table do I select from?? In oracle I believe it was
systables... thanks.
 

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

Top