Does anyone have an efficient way to MOVE tables to a backup database using code? Thanks in advance for any help!!
MOVING tables to a backup database...
Collapse
X
-
Tags: None
-
-
Try this :
Originally posted by HelpSELECT...INTO Statement
Creates a make-table query.
Syntax
SELECT field1[, field2[, ...]] INTO newtable [IN externaldatabas e]
FROM source
The SELECT...INTO statement has these parts:
Part Description
field1, field2 The name of the fields to be copied into the new table.
newtable The name of the table to be created. It must conform to standard naming conventions. If newtable is the same as the name of an existing table, a trappable error occurs.
externaldatabas e The path to an external database. For a description of the path, see the IN clause.
source The name of the existing table from which records are selected. This can be single or multiple tables or a query.Comment
Comment