字体:大 中 小
护眼
关灯
上一章
目录
下一章
第242章被困百草堂 (6 / 9)
join sys.partition_schemes as ps on ps.data_space_id = idx.data_space_id
where @iter_no = t.rank and t.object_type in (@u, @v) and (t.object_svr IS null and t.object_db = db_name())
set @rows = @rows + @@rowcount
-- Partition Function referenced by Partition Schemes
insert #t1 (object_id, object_name, object_db, object_type, relative_id, relative_name, relative_schema, relative_db, relative_type, schema_bound, rank)
select pf.function_id, pf.name, t.object_db, @part_func, t.object_id, t.object_name, t.object_schema, t.object_db, t.object_type, 1, @iter_no + 1
from #t1 as t
join sys.partition_schemes as ps on ps.data_space_id = t.object_id
join sys.partition_functions as pf on pf.function_id = ps.function_id
where @iter_no = t.rank and t.object_type = @part_sch and (t.object_svr IS null and t.object_db = db_name())
set @rows = @rows + @@rowcount
-- sp, udf, triggers referenced by plan guide
insert #t1 (object_id, object_name, object_schema, object_db, object_type, relative_id, relative_name, relative_schema, relative_db, relative_type, schema_bound, rank)
The content is not finished, continue reading on the next page
更多完整内容阅读登陆
《墨缘文学网,https://wap.mywenxue.org》
上一章
目录
下一章