SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Using INFORMATION_SCHEMA with an ACCESS DB
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

uni
Starting Member

1 Posts

Posted - 02/13/2007 :  18:04:44  Show Profile  Reply with Quote
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
Flowing Fount of Yak Knowledge

USA
2886 Posts

Posted - 02/18/2007 :  02:03:35  Show Profile  Visit jezemine's Homepage  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000