fgl_db_driver_type()

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

Syntax

fgl_db_driver_type()
  RETURNS 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 a 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 (for example, if database connection is not yet established).