db_get_database_type()

Returns the database type for the current connection.

Syntax

db_get_database_type()
  RETURNING result STRING

Usage

After connecting to the database, you can get the type of the database server with this function.

Important: This function is deprecated, use the fgl_dbdriver_type() function instead.
Table 1. Codes returned by db_get_database_type() per database type
Code Description
ASE Sybase ASE
DB2 IBM® DB2®
IFX IBM Informix®
MYS Oracle MySQL
MSV Microsoft™ SQL Server
ORA Oracle Database
PGS PostgreSQL