문제

I bit confused with the IN clause.

Does this mean select all data from Customers and put it INTO CustomersBackup2013 table. The CustomersBackup2013 table is located in a file called Backup.mdb

    SELECT *
    INTO CustomersBackup2013 IN 'Backup.mdb'
    FROM Customers;
도움이 되었습니까?

해결책

I believe in JET this is valid syntax for an external database and is for referencing an external databases as described by the OP.

For reference: http://en.wikibooks.org/wiki/JET_Database/Insert

다른 팁

Does this mean select all data from Customers and put it INTO CustomersBackup2013 table

Yes.

The example use of IN is particular to Microsoft JET and ACE. This knowledge base article has more examples, but they are for an Excel spreadsheet instead of a backup mdb file.

It can also be used in the FROM clause to read external data.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top