skip to main content
Reference : ODBC API and Scalar Functions : Scalar Functions : System Functions
  

Try DataDirect Drivers Now
System Functions
The following table lists the system functions that ODBC supports.
Table 20. Scalar System Functions
Function
Returns
DATABASE()
Name of the database, corresponding to the connection handle (hdbc).
IFNULL(exp,value)
value, if exp is null.
USER()
Authorization name of the user.