## Method getFirstSerial

### Use

getFirstSerial is a method of the class SapDB_Result.

If with an INSERT statement the system has automatically generated one or more values for a key column of the SERIAL type, you can use this method to display the first of these generated values. This is useful, for example, if you want to maintain FOREIGN KEY dependencies in other SQL statements.

### Features

getFirstSerial ()

Result:

● First value of type SERIAL in the result set

● If the SQL statement returned no values of type SERIAL: None