sysLib.queryCurrentDatabase

The system function sysLib.queryCurrentDatabase returns the product and release number of the currently connected database.


sysLib.queryCurrentDatabase syntax diagram

product

Receives the database product name. The argument must be an item of type CHAR and length 8.

To determine the string that will be received when your code connects to a particular database, review the product documentation for the database or driver; or run your code in a test environment and write the received value to a file.

release

Receives the database release level. The argument must be an item of type CHAR and length 8.

To determine the string that will be received when your code connects to a particular database, review the product documentation for the database or driver; or run your code in a test environment and write the received value to a file.

Related reference
System words in alphabetical order