DF_FILE_SERVER_NAME¶

Applies to: ORAFlex SQLFlex MYSQLFlex PGFlex DB2Flex

Use this attribute to set or get the name of the database server corresponding to the specified file number. In a restructure operation this attribute may be used to permanently change the server that a filelist entry is pointing to.

Syntax

Get_Attribute DF_FILE_SERVER_NAME of {FileNumber} to {variable}
Set_Attribute DF_FILE_SERVER_NAME of {FileNumber} to {variable}

Parameter

Description

FileNumber

Number of the file

variable

Name of the database server.

Example

Open Orderhea
Set_Attribute DF_FILE_SERVER_NAME of Orderhea.File_Number to "(localdb)\v11.0"
Get_Attribute DF_FILE_SERVER_NAME of Orderhea.File_Number to strVal