Connection.Create (gb.db2)
Function Create ( Table As String [ , Return As Boolean, IfNotExist As Boolean ] ) As Result
Return a read/write
Result object used for creating records in the specified
table.
-
Table: The name of the table.
-
Return: If set, the Result.Update() method will fill the Result with the
contents of the newly inserted record.
Since 3.19
-
IfNotExist: If set, the Result.Update() method will not raise an error if the
record already exists (i.e. if a primary key or index constraints fails).
Since 3.19
The
Return option is based on the optional
INSERT INTO ... RETURNING
SQL syntax which is not available
in all database systems.
The
IfNotExist option relies on non-standard SQL features that are not available in all versions of database systems.