DF_FILE_DATABASENAME

Applies to: SQLFlex MYSQLFlex PGFlex

Returns a string containing the name of the database where the table referenced by the passed File Number resides. This is a READ ONLY attribute. Note that because Oracle doesn’t support the concept of multiple databases on one server, this attribute is not valid for Oracle.

Syntax

Get_Attribute DF_FILE_DATABASENAME of {FileNumber} to {variable}

Parameter

Description

FileNumber

Number of the file

variable

Name of the Database

Example

Open Orderhea
Get_Attribute DF_FILE_DATABASENAME of Orderhea.File_Number to strVal