Talk About Network

Google





Software > Access General > Re: Query to ob...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 97447 of 98261
Post > Topic >>

Re: Query to obtain Schema and other info about the DB tables

by =?Utf-8?B?Sm9oblM=?= <JohnS@[EMAIL PROTECTED] > Dec 1, 2008 at 01:50 PM

Thanks.
Exactly what I was looking for.



"Douglas J. Steele" wrote:

> The following query will give you the tables:
> 
> SELECT [Name]
> FROM MSysObjects
> WHERE Name Not Like "MSys*"
> AND [Type] In (1,4,6)
> ORDER BY [Name]
> 
> (type 1 means tables in the same database, type 4 means tables linked
using 
> ODBC, type 6 means other linked tables).
> 
> The following query will give you the queries:
> 
> SELECT [Name]
> FROM MSysObjects
> WHERE [Type] =5
> ORDER BY [Name]
> 
> To avoid reinventing the wheel, you might check what Jeff Conrad has at 
> http://www.accessmvp.com/JConrad/accessjunkie/doctable.html
> 
> -- 
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no e-mails, please!)
> 
> 
> "JohnS" <JohnS@[EMAIL PROTECTED]
> wrote in message 
> news:D929FF51-F5D4-400E-A7D3-F64A8B0D7C10@[EMAIL PROTECTED]
> > Is there a way to query Access (from within Access) to get a list of
the
> > tables and queries in the DB?
> >
> > I am trying to do***ent a DB and would like to list out the table
names 
> > and
> > get counts of tables without counting them by hand and retyping the
names 
> > by
> > hand.
> >
> > TIA
> >
> > 
> 
> 
>
 




 3 Posts in Topic:
Query to obtain Schema and other info about the DB tables
=?Utf-8?B?Sm9oblM=?= <  2008-12-01 10:01:01 
Re: Query to obtain Schema and other info about the DB tables
"Douglas J. Steele&q  2008-12-01 13:11:03 
Re: Query to obtain Schema and other info about the DB tables
=?Utf-8?B?Sm9oblM=?= <  2008-12-01 13:50:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 11:43:40 PST 2009.