Is there any way to dynamically get information about a table in Access 2007?
I know I can do this with SQLServer.
I'm linking to SQLServer tables from Access 2007.
The SQLServer 2005 SELECT statement is:
I want to do the same using SQL that Access understands!
Any ideas.
I've heard of GetSchema, but I can't figure out how to use it, the ADODB connection certainly doesn't know about it.
I know I can do this with SQLServer.
I'm linking to SQLServer tables from Access 2007.
The SQLServer 2005 SELECT statement is:
Code:
SELECT [name],[system_type_id],[max_length],[precision],[scale],[is_nullable],[is_identity],[column_id]
FROM sys.Columns
WHERE object_id =object_id('[<table name>]')
ORDER BY column_id
Any ideas.
I've heard of GetSchema, but I can't figure out how to use it, the ADODB connection certainly doesn't know about it.
Comment