Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Using INFORMATION_SCHEMA with an ACCESS DB

Author  Topic 

uni
Starting Member

1 Post

Posted - 2007-02-13 : 18:04:44
I'm having a really hard time displaying the structure of my database using INFORMATION_SCHEMA. Can this be used with Access? I've used it before for sql databases but when I try it with this access one I get an error message telling me: Can't find file c:\...\INFORMATION_SCHEMA.mdb

I'm hoping maybe there's another command that works just as well or some other way to get around it.

I'm using Visual Web Developer 2005 Express
and my .aspx pages are coded using VB so any insights would be awesome!

Thanks much,
~UNI

jezemine
Master Smack Fu Yak Hacker

2886 Posts

Posted - 2007-02-18 : 02:03:35
there is no such thing in access.

The closest thing I know of is the OleDbConnection.GetOleDbSchemaTable() method. if you connect to an access db and call this, it will give you metadata about all the objects. Note that this will work for any OleDb provider that supports the method, not only access providers.

http://support.microsoft.com/kb/309488


www.elsasoft.org
Go to Top of Page
   

- Advertisement -