system tables

G

Guest

How can I query Access sys tables? Need to query to get a list of all table
names for 5 separate databases. Where do I find the names of all tghe sys
tables?
Thanks!
 
J

Jeff Conrad

D

Douglas J. Steele

SELECT MSysObjects.Name
FROM MSysObjects
IN 'D:\Data\External.mdb'
WHERE MSysObjects.Name Not Like "msys*"
AND MSysObjects.Type In (1,4,6)
ORDER BY MSysObjects.Name
 
G

Guest

Trying to query the MSysObjects object per your example below generates this
error for me:
Error: ACCESS:-1907[Microsoft][ODBC Microsoft Access Driver] Record(s)
cannot be read; no read permission on 'MSysObjects'.

Here's my connect string (using SQLTalk and an ODBC connection)
connect scheduler admin/; [in dev, no password yet]

I've looked through Access 2003 Tools, Database and Security menus but can't
see where I (as admin) can let myself get access to the system tables. Like
the previous writer, I'd like access to system tables for name, column, type,
length info. for my database. Thanks for any help!

Best Regards - Jeff
 
D

Douglas J. Steele

I'm afraid I have no knowledge of SQLTalk, so I can't suggest anything.

--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)



Jeff Luther said:
Trying to query the MSysObjects object per your example below generates
this
error for me:
Error: ACCESS:-1907[Microsoft][ODBC Microsoft Access Driver] Record(s)
cannot be read; no read permission on 'MSysObjects'.

Here's my connect string (using SQLTalk and an ODBC connection)
connect scheduler admin/; [in dev, no password yet]

I've looked through Access 2003 Tools, Database and Security menus but
can't
see where I (as admin) can let myself get access to the system tables.
Like
the previous writer, I'd like access to system tables for name, column,
type,
length info. for my database. Thanks for any help!

Best Regards - Jeff

Douglas J. Steele said:
SELECT MSysObjects.Name
FROM MSysObjects
IN 'D:\Data\External.mdb'
WHERE MSysObjects.Name Not Like "msys*"
AND MSysObjects.Type In (1,4,6)
ORDER BY MSysObjects.Name
 

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