Domanda

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;
È stato utile?

Soluzione

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

Altri suggerimenti

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top