摘要
在数据库或企业级地理数据库中创建空表。此表未注册到地理数据库。
用法
由此工具创建的空表可包含名为 OBJECTID 的整型字段,或包含与模板表名参数提供的表相同的字段名称和类型。
语法
CreateUnRegisteredTable_management (out_path, out_name, {template}, {config_keyword})
参数 | 说明 | 数据类型 |
out_path | 将创建输出表的企业级地理数据库或数据库。 | Workspace |
out_name | 要创建的表的名称。 | String |
template [template,...] (可选) | 字段和属性方案用于定义输出表中的字段的表或表的列表。 | Table View |
config_keyword (可选) | 确定企业级地理数据库中表的存储参数。 | String |
派生输出
名称 | 说明 | 数据类型 |
out_table |
代码示例
CreateUnRegisteredTable 示例 1(Python 窗口)
下面的 Python 窗口脚本演示了如何使用 CreateUnRegisteredTable 工具。
import arcpy
arcpy.CreateUnRegisteredTable_management(r'Database Connections\Connection to Organization.sde', 'New_Table')
环境
许可信息
- ArcGIS Desktop Basic: 是
- ArcGIS Desktop Standard: 是
- ArcGIS Desktop Advanced: 是