Hi
i want to copy tables from sql to access
i gave
SELECT Persons.* INTO Persons IN 'Backup.mdb'FROM PersonsI think we are going to need more information, but I am pretty sure you could use OPENDATASOURCE for this:
The error is Incorrect syntax near the keyword 'in'
any one reply me
INSERT INTO
OPENDATASOURCE( 'Microsoft.Jet.OLEDB.4.0','DataSource="c:\test.mdb"; User ID=Admin;Password=' )...Persons(column1,column2)
SELECT * FROM Persons
(seehttp://www.sql-server-performance.com/forum/topic.asp?TOPIC_ID=9334 for reference)
No comments:
Post a Comment