can someone tell me the correct syntax for replacing the hard coded path and file name with a declared variable? I am assuming I have to build it by concatenation but the apostrophe's are throwing me off.
SELECT * into test FROM OPENROWSET('VFPOLEDB', 'c:\work\'; ' '; ' ', 'SELECT * FROM test.dbf')
SELECT * into test FROM OPENROWSET('VFPOLEDB', 'c:\work\'; ' '; ' ', 'SELECT * FROM test.dbf')