Alter Field (Data Management Tools)
Summary
Renames fields and field aliases or alters field properties.
Usage
Caution:
This tool modifies the input data. See Tools that modify or update the input data for more information and strategies to avoid undesired data changes.
This tool allows you to rename fields or field aliases for a geodatabase table or feature class.
You can use this tool to modify the field alias of a field in a table or view that has been registered with the geodatabase.
If the input field is a required field, only the field alias can be modified.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input Table |
The input geodatabase table or feature class that contains the field that will be altered. |
Table View; Raster Layer; Mosaic Layer |
|
Field Name |
The name of the field that will be altered. If the field is a required field, only the field alias will be altered. |
Field |
|
New Field Name (Optional) |
The new name for the field. |
String |
|
New Field Alias (Optional) |
The new field alias for the field. |
String |
|
New Field Type (Optional) |
Specifies the new field type for the field. This parameter is only applicable if the input table is empty (does not contain records).
|
String |
|
New Field Length (Optional) |
The new length of the field. This sets the maximum number of allowable characters for each record of the field. This parameter is only applicable to fields of type Text or Blob (binary data). If the table is empty, the field length can be increased or decreased. If the table is not empty, the length can only be increased from the current value. |
Long |
|
New Field IsNullable (Optional) |
Specifies whether the field can contain null values. Null values are only supported for fields in a geodatabase. This parameter is only applicable if the input table is empty (does not contain records).
|
Boolean |
|
Clear Alias (Optional) |
Specifies whether the alias for the input field will be cleared. The
|
Boolean |
Derived output
| Label | Explanation | Data type |
|---|---|---|
|
Updated Input Table |
The updated input table. |
Table View; Raster Layer; Mosaic Layer |
Environments
Licensing information
- Basic: Yes
- Standard: Yes
- Advanced: Yes