OBJECTS
所有架构范围内的用户定义对象。
表1 OBJECTS
列名称 | 类型 | 说明 |
---|---|---|
name | name | 对象名称 |
object_id | oid | 对象 ID |
principal_id | oid | 对象 owner 的oid。 如果当前owner与schema为同一个owner,则返回NULL 如果是以下类型,则也直接返回NULL值: C D F PK TR UQ |
schema_id | oid | 所属 schema 的 ID |
parent_object_id | oid | 返回对象所属的 parent 对象 ID |
type | char(2) | 对象类型。当前支持类型: AF = Aggregate function C = Check constraint D = Default F = Foreign key constraint FN = SQL scalar function P = SQL stored procedure PK = Primary key constraint S = System base table SN = Synonym SO = Sequence object< U = Table V = View TR = SQL DML trigger UQ = unique constraint |
type_desc | nvarchar(60) | 对象类型描述。当前支持类型: Check constraint Default Foreign key constraint SQL scalar function SQL stored procedure Primary key constraint System base table Synonym Sequence object< Table View SQL DML trigger unique constraint |
create_date | timestamp | 对象创建日期 |
modify_date | timestamp | 对象修改日期 |
is_ms_shipped | bit | 是否为系统内部对象 如系统表、视图等返回 1用户表等返回 0 |
is_published | bit | 对象是否发布 |
is_schema_published | bit | 是否只发布架构 |
意见反馈