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
CreateUnRegisteredTable_management (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 |
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
- ArcGIS Desktop Basic: Yes
- ArcGIS Desktop Standard: Yes
- ArcGIS Desktop Advanced: Yes