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