Database utility functions (IMPORT FGL fgldbutl)

Table 1. Database utility functions (fgldbutl.4gl)
Function Description
db_get_database_type()
  RETURNING result STRING
Returns the database type for the current connection.
db_get_sequence(
   id STRING )
  RETURNING result BIGINT
Generates a new sequence for a given identifier.
db_start_transaction()
  RETURNING result INTEGER
Starts a nested transaction call.
db_finish_transaction(
   commit INTEGER )
  RETURNING result INTEGER
Terminates a nested transaction call.
db_is_transaction_started()
  RETURNING result INTEGER
Indicates whether a nested transaction call is started.