The following INSERT statement adds a new row to the Departments table, giving a value for every column in the row:
INSERT INTO Departments VALUES ( 702, 'Eastern Sales', 902 );
Type the values in the same order as the column names in the original CREATE TABLE statement, that is, first the ID number, then the name, then the department head ID.
Surround the values by parentheses.
Enclose all character data in single quotes.
Use a separate insert statement for each row you add.
|Discuss this page in DocCommentXchange.
Send feedback about this page using email.
|Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1|