Eine Einführung in

SQL

CREATE a table with an autonumber / sequence / identity / autoincrement

DB2
An auto number field can provide a unique identifier where no other is available. These should be avoided if at all possible.
Execute tidy up code silently


Specific to DB2
CREATE TABLE