Ok, so I have successfully linked MS Access to SQL Server 2012 via a linked server object and can query the db just fine. This MS Access database is published by the government and sometimes they make schema alterations.
My goal was to create a T-SQL stored proc that could make a copy of the MS Access Table/Column meta-data and compare it with a previous version to alert me when schema changes occurred.
I have tried using sp_columns_ex and the sp_tables_ex - sp_tables_ex works fine but the sp_columns_ex returns nothing...
I've tried sp_columns_ex with a varying array of parameters just in case... it doesn't error-out, just returns 0 records.
- Works - sp_tables_ex @table_server = 'HCDB_CURRENT'
- Doesn't Work - exec sp_columns_ex @table_server = 'HCDB_CURRENT'
- Doesn't Work - exec sp_columns_ex @table_server = 'HCDB_CURRENT', @table_name = 'dbo_vwHQI_FTNT'
Any help/ideas would greatly be appreciated.