Enterprise Edition Home | Express Edition Home | Previous Page | Next Page   SQL Statements > INSERT >

Inserting Values into Serial Columns

You can insert consecutive numbers, explicit values, or explicit values that reset the value in a SERIAL or SERIAL8 column:

For more information, see Altering the Next Serial Value.

NULL values are not valid in serial columns.

In Dynamic Server, inserting a serial value into a table that is part of a table hierarchy updates all tables in the hierarchy that contain the serial counter with the value that you insert. You can express this value either as zero (0) for the next highest value, or as a specific positive integer.

Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]