Table updates when changing character field lengths
The following sections describe how each database changes the length of a character field.
Table updates for Microsoft SQL Server when changing character fields
In Microsoft SQL Server databases, if the field is created in BMC Remedy AR System 5.1 and later, the length of a character field is changed in one of these ways:
- If the original size is <= 8000 bytes and you decrease the length, no change is made to the table.
- If the original size is > 8000 bytes and the new length is > 8000 bytes, no change is made to the table.
- For any other change in length, a column is created with the new length restriction. All data from the original column is copied to the new column, and the original column is deleted from the main table.
If the field is created in a version of BMC Remedy AR System earlier than 5.1, the length of a character field is changed in one of these ways:
- If the original size is <= 255 bytes and the new length is <=8000 bytes, no change is made to the table.
- If the original size is > 255 bytes and the new length is > 8000 bytes, no change is made to the table.
- For any other change in length, a column is created with the new length restriction. All data from the original column is copied to the new column, and the original column is deleted from the main data table.
Table updates for Oracle when changing character fields
The following table shows the changes that BMC Remedy AR System makes to Oracle databases when you change the length of character fields. The way that field length changes are handled depends on the initial size of the field and whether the field was created in the current version or a previous version of BMC Remedy AR System.The [confluence_table-plus] macro is a standalone macro and it cannot be used inline.
Server actions when changing full text indexed fields
If the length of a full text indexed field is changed, the full text index might be restructured. The following table describes the server actions that can occur.The [confluence_table-plus] macro is a standalone macro and it cannot be used inline.
a The following warning appears after the length change is saved: A rebuilding of the corresponding full text index has been initiated due to the field length change (ARWARN 681)