Backuping error

Category: Database Questions    |    4 views
Hello!

I want to use the following code

SELECT *
INTO Persons_Backup IN ‘Backup.mdb’
FROM Persons

But all I ever get is the error message: "Incorrect syntax near IN"
How could I solve this?

But when I miss the IN clause, it works perfectly.
I think the problem is that I’m not connected to the second database, which I need to copy the data into. But how is it possible to be connected to two databases via one connection string?

Thank you very much!

Share/Save/Bookmark

1 Star2 Stars
Loading ... Loading ...

0 responses so far!

Leave a Comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word