Syntax
Multiple-record append query:
INSERT INTO target [(field1[, field2[, ...]])] [IN externaldatabase]
SELECT [source.]field1[, field2[, ...]
FROM tableexpression
Single-record append query:
INSERT INTO target [(field1[, field2[, ...]])]
VALUES (value1[, value2[, ...])
The INSERT INTO statement has these parts:
| Part |
Description |
| target |
The name of the table or query to append records to. |
| field1, field2 |
Names of the fields to append data to, if following a target argument, or the names of fields to obtain data from, if following a source argument. |
| externaldatabase |
The path to an http://office.microsoft.com/en-us/access-help/redir/HP001044193.aspx?CTT=5&origin=HP001032245 . For a description of the path, see the IN clause. |
| source |
The name of the table or query to copy records from. |
| tableexpression |
The name of the table or tables from which records are inserted. This argument can be a single table name or a compound resulting from an INNER JOIN , LEFT JOIN , or RIGHT JOIN operation or a saved query. |
| value1, value2 |
The values to insert into the specific fields of the new record. Each value is inserted into the field that corresponds to the value's position in the list: value1 is inserted into field1 of the new record, value2 into field2, and so on. You must separate values with a comma, and enclose text fields in quotation marks (' '). |