fgl_db_driver_type()

Returns the 3-letter identifier/code of the current database driver.

Syntax

fgl_db_driver_type()
  RETURNING drvtype CHAR(3)

Usage

This function can be called after connecting to a database server with the CONNECT or DATABASE instructions, in order to identify the type of the target database with the driver type.

Returned value is the 3-letter driver code, in lower case, such as "ifx", "ora", "db2", etc.

See the drivers table for more details about the list of database driver types.

The function returns NULL if there is no current database driver (i.e. if database connection is not yet established).