|
Main Menu
Resources
|
SQL SELECT INTO
The SELECT INTO statement is usually used to create backup copies of tables. SELECT INTO syntax is: SELECT [COLUMN NAME 1], [COLUMN NAME 2] ,...
Let’s say we want to create a copy of the GameScores table and data. SQL Statement: SELECT * INTO GameScores_backup SELECT INTO statement also can export the backup data to another database, let's see the example 2.
Let’s say we want to create a copy of the GameScores table and data to another database name backup_database. SQL Statement: SELECT * INTO GameScores_backup IN 'backup_database.mdb'
|

Printer friendly page