f2s_table_db_name

Applies to: MS SQL, MySql/MariaDB, PostgreSQL Drivers

Syntax

**There is no set_attribute.  This attribute is read only.**
get_attribute f2s_table_db_name of {FileNumber} to {variable}

Parameter

Description

FileNumber

Number of the file (filename.File_Number)

variable

The database name where the table resides

Description

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

Example

//get the name of the database where Orderhea resides
string sDBVal
Get_Attribute f2s_table_db_name of Orderhea.File_Number to sDBVal

Related Attributes

f2s_table_server_name

Replaces: DF_FILE_DATABASE_NAME