is the data type of the column to be created. See Data Types in the
DataDirect Connect Series for JDBC User’s Guide for a list of supported Salesforce data types. You cannot specify ANYTYPE, BINARY, COMBOBOX, or TIME data types in the column definition of Create Table statements.
is the number characters for CHAR and VARCHAR columns, the number of bytes for BINARY and VARBINARY columns, and the total number of digits for DECIMAL columns.
define an auto-increment column. You can only specify these clauses on INTEGER and BIGINT columns. Identity columns are considered primary key columns, so a table can have only one Identity column.
The GENERATED BY DEFAULT AS IDENTITY clause is the standard SQL syntax for specifying an Identity column.
The IDENTITY operator is equivalent to
GENERATED BY DEFAULT AS IDENTITY without the optional
START WITH clause.
specifies the sequence of numbers generated for the Identity column. n and
m are the starting and incrementing values, respectively, for an Identity column. The default start value is 0 and the default increment value is 1.
Assuming the current schema is PUBLIC, a local table is created. id is an identity column with a starting value of 0 and an increment value of 1 because no Start With and Increment By clauses are specified.
Assuming the current schema is PUBLIC, a local table is created. id is an identity column with a starting value of 2 and an increment of 2.