Create Unregistered Table (Data Management)

Summary

Creates an empty table in an enterprise database or enterprise geodatabase. The table is not registered with the geodatabase.

Usage

  • The empty table created by this tool will either have a field named OBJECTID of type integer or contain the same field names and types of any selected input template table.

  • Unregistered tables can be registered with the geodatabase using the Register With Geodatabase tool.

Parameters

LabelExplanationData Type
Table Location

The enterprise database or enterprise geodatabase in which the table will be created.

Workspace
Table Name

The name of the table that will be created.

String
Template Datasets
(Optional)

An existing dataset or list of datasets with fields and attribute schema that will be used to define the fields in the output table.

Table View
Configuration Keyword
(Optional)

Specifies the default storage parameters (configurations) for geodatabases in a relational database management system (RDBMS). This setting is applicable only when using enterprise geodatabase tables.

Configuration keywords are set by the database administrator.

String

Derived Output

LabelExplanationData Type
Output Table

The output unregistered table.

Table

arcpy.management.CreateUnRegisteredTable(out_path, out_name, {template}, {config_keyword})
NameExplanationData Type
out_path

The enterprise database or enterprise geodatabase in which the table will be created.

Workspace
out_name

The name of the table that will be created.

String
template
[template,...]
(Optional)

An existing dataset or list of datasets with fields and attribute schema that will be used to define the fields in the output table.

Table View
config_keyword
(Optional)

Specifies the default storage parameters (configurations) for geodatabases in a relational database management system (RDBMS). This setting is applicable only when using enterprise geodatabase tables.

Configuration keywords are set by the database administrator.

String

Derived Output

NameExplanationData Type
out_table

The output unregistered table.

Table

Code sample

CreateUnRegisteredTable example (Python window)

The following Python window script demonstrates how to use the CreateUnRegisteredTable function.

import arcpy
arcpy.management.CreateUnRegisteredTable(
    r'Database Connections\Connection to Organization.sde', 'New_Table')

Related topics