Question : Can I read an MS Access table from SQL Stored Procedure?

Can I read an MS Access table from SQL 2000 Stored Procedure?  Also I want to update the same table.  Can you show me a Stored Proc that would do the job.

I've tried---------------------------------------------
SELECT   *
FROM  OPENdatasource(
 'Data Source="C:\Access10\prepros.mdb;"
 ).prepros.dbo.tbl_Customers'

I Get an Error---------------------------------------------
Server: Msg 170, Level 15, State 1, Line 3
Line 3: Incorrect syntax near 'Data Source="C:\Access10\prepros.mdb;"
 ).prepros.dbo.tbl_Customers'.

Any help would be greatly appreciated.
Thanks
LJG

Answer : Can I read an MS Access table from SQL Stored Procedure?

1. Download Filemon from sysinternals.com
2. Monitor the MDB is in.
3. Try your code again.


The Filemon log may give you some more clues.
Random Solutions  
 
programming4us programming4us