Function documentationgetFirstSerial Method (SapDB_Result Class) Locate this document in the navigation structure

 

getFirstSerial is a method of the SapDB_Result class (sdb.sql module).

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

Features

Syntax Syntax

  1. getFirstSerial ()
End of the code.
Result
  • First value of the SERIAL type in the result set

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