You can insert values into all the columns of a row using the INSERT statement.
Prerequisites
You must have INSERT privilege on the table. If the ON EXISTING UPDATE clause is specified, UPDATE privilege on the table is also required.
Type the values in the same order as the column names in the original CREATE TABLE statement.
Surround the values with parentheses.
Enclose all character data in single quotes.
Use a separate INSERT statement for each row you add.
Execute an INSERT statement that includes values for each column.
Example
The following INSERT statement adds a new row to the Departments table, giving a value for every column in the row:
INSERT INTO GROUPO.Departments VALUES ( 702, 'Eastern Sales', 902 ); |
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0 |