DF_FILE_ALLOWED_STRUCTURE_CHANGES
See Also: Get_Attribute, Set_Attribute, DF_File_Restructure
What type of restructure is allowed on a table
Level
- Table
Supported by
- All Drivers, version 6.2.0.19 or higher.
Type
- Integer, temporary
Access
- Read, Write
Values
ALL_TABLE_CHANGES_ALLOWEDONLY_TABLE_INT_FILE_CHANGES_ALLOWEDNO_TABLE_CHANGES_ALLOWED
Remarks
Changing properties of a table may result in changes in the INT file only (client-side changes) or changes on the server (server-side changes). In some situations, it may be desirable to allow only client-side changes. In that case, this attribute can be set to ONLY_TABLE_INT_FILE_CHANGES_ALLOWED to protect against server-side changes.
Example
Set_Attribute DF_FILE_ALLOWED_STRUCTURE_CHANGES of hTable iField to ONLY_TABLE_INT_FILE_CHANGES_ALLOWED
Structure_Start hTable "MSSQLDRV"
Set_Attribute DF_FIELD_LENGTH of hTable iField to iNewLength
Structure_End hTable DF_STRUCTEND_OPT_NONE