|
GSAK (Geocaching Swiss Army Knife)
| |||
|
Allows you to insert a data record into a table. This command can also insert many records at once by selecting them from another table using a sub-select. Syntax: INSERT INTO tablename [(field1[,fieldN])] VALUES (field1value[,fieldNvalue]) Or INSERT INTO tablename selectstatement Where field values are ordered in the same order as the field names and must match the type (numbers as plain numbers and string as single-quoted text). Example:
or
or
Notes When you insert records using select statement, the output fields of the select statment must match the field names of tablename. Only values of matching field names will be inserted. Note that the opposite of "INSERT INTO" is the "DELETE FROM" SQL command. |
|
Copyright 2004-2008 CWE Computer Services Privacy Policy Contact |