Summary
Creates an empty table in a database or enterprise geodatabase. The table is not registered with the geodatabase.
Usage
The empty table created by this tool will have either a field named OBJECTID of type integer or will contain the same field names and types of the tables provided in the Template Table Name parameter.
Syntax
arcpy.management.CreateUnRegisteredTable(out_path, out_name, {template}, {config_keyword})
Parameter | Explanation | Data Type |
out_path | The enterprise geodatabase or database in which the output table will be created. | Workspace |
out_name | The name of the table to be created. | String |
template [template,...] (Optional) | A table or list of tables whose fields and attribute schema are used to define the fields in the output table. | Table View |
config_keyword (Optional) | Determines the storage parameters of the table in an enterprise geodatabase. Learn more about configuration keywords for enterprise geodatabases | String |
Derived Output
Name | Explanation | Data Type |
out_table | The output unregistered table. | Table |
Code sample
CreateUnRegisteredTable example 1 (Python window)
The following Python window script demonstrates how to use the CreateUnRegisteredTable tool.
import arcpy
arcpy.CreateUnRegisteredTable_management(
r'Database Connections\Connection to Organization.sde', 'New_Table')
Environments
Licensing information
- Basic: Yes
- Standard: Yes
- Advanced: Yes