GET_DATABASE_NAME¶

Applies to: SQLFlex MYSQLFlex PGFlex

This command is used to get the name of the database currently being used. The name of the database is returned into the specified string. Even though this command works either way, it is typically used when the INT file does not contain the DATABASE_SPACE_NAME.

Syntax

GET_DATABASE_NAME to {variable}

Parameter

Description

variable

Variable to hold the database name

Example

GET_DATABASE_NAME to sDbName