Skip to main content

Add Fields (multiple) (Data Management Tools)

Summary

Adds new fields to a table, feature class, or raster.

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.

  • For shapefiles and dBase tables, if field type defines a character, blanks are inserted for each record. If field type defines a numeric item, zeros are inserted for each record.

  • Fields specified by the Field Properties parameter will have the following default properties:

    • The Allow NULL property will be true.

    • The Editable property will be true.

    • The Required property will be false.

    • The Precision and Scale properties are set by the field type and data source default values.

  • Fields can be added to the input using the Field Properties and Template Tables parameters. If values for both parameters are provided, fields will be added from both parameters.

  • The Field Properties parameter's Field Length option is only applicable to fields of type text.

  • A shapefile does not support aliases for fields, so you cannot add a field alias to a shapefile.

  • A field of type raster allows you to include a raster image as an attribute. It is stored in or alongside the geodatabase. This is helpful when an image is the best way to describe a feature. Precision, scale, and length cannot be set for fields of type raster.

Parameters

Label Explanation Data type

Input Table

The input table where the fields will be added. The fields will be added to the existing input table and will not create a new output table.

Fields can be added to feature classes in geodatabases, shapefiles, coverages, stand-alone tables, raster catalogs, rasters with attribute tables, and layers.

Table View; Raster Layer; Mosaic Layer

Field Properties

(Optional)

The fields and their properties that will be added to the input table.

Value table columns:

  • Field NameThe name of the field that will be added to the input table.

  • Field TypeThe field type of the new field.

    • Short (16-bit integer)The field type will be short. Short fields support whole numbers between -32,768 and 32,767.

    • Long (32-bit integer)The field type will be long. Long fields support whole numbers between -2,147,483,648 and 2,147,483,647.

    • Big integer (64-bit integer)The field type will be big integer. Big integer fields support whole numbers between -(253) and 253.

    • Float (32-bit floating point)The field type will be float. Float fields support fractional numbers between -3.4E38 and 1.2E38.

    • Double (64-bit floating point)The field type will be double. Double fields support fractional numbers between -2.2E308 and 1.8E308.

    • TextThe field type will be text. Text fields support a string of characters.

    • DateThe field type will be date. Date fields support date and time values.

    • Date (high precision)The field type will be high precision date. High precision date fields support date and time values with millisecond time.

    • Date onlyThe field type will be date only. Date only fields support date values with no time values.

    • Time onlyThe field type will be time only. Time only fields support time values with no date values.

    • Timestamp offsetThe field type will be timestamp offset. Timestamp offset fields support a date, time, and offset from a UTC value.

    • BLOB (binary data)The field type will be BLOB. BLOB fields support data stored as a long sequence of binary numbers. You need a custom loader or viewer or a third-party application to load items into a BLOB field or view the contents of a BLOB field.

    • GUID (globally unique identifier)The field type will be GUID. GUID fields store registry-style strings consisting of 36 characters enclosed in curly brackets.

    • RasterThe field type will be raster. Raster fields can store raster data in or alongside the geodatabase. All ArcGIS software-supported raster dataset formats can be stored, but it is recommended that only small images be used.

  • Field AliasThe alternate name for the field. This is used to describe cryptic field names. This value only applies to geodatabases.

  • Field LengthThe length of the field being added. This sets the maximum number of allowable characters for each record of the field. This option is only applicable to fields of type text. The default length is 255.

  • Default ValueThe default value of the field.

  • Field DomainThe geodatabase domain that will be assigned to the field.

  • PrecisionThe number of significant digits used to represent attribute values.

  • ScaleThe maximum size of data that can be stored in the field.

  • Field supports null valuesSpecifies whether the field can contain null values.

  • Field is requiredSpecifies whether the field is a required field.

Value Table

Template Tables

(Optional)

The feature classes or tables that will be used as a template to define the attribute fields to add.

Fields from the inputs specified by this parameter will be added to the Input Table parameter value in addition to any fields specified by the Field Properties parameter.

Table View

Derived output

Label Explanation Data type

Updated Input Table

The updated input table.

Table View; Raster Layer; Mosaic Layer

Environments

Current Workspace, Transfer Field Domain Descriptions

Special cases

Transfer Field Domain Descriptions

When this environment is checked, any fields that have an associated domain will use the domain description instead of the field's value. Values from fields that do not have a domain will be unaffected.

Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes