0
我運行:SQL Server:在sys.system_internals_partition_columns視圖中,leaf_offset列意味着什麼?
select c.column_id, c.Name, ipc.*
from sys.system_internals_partition_columns ipc
join sys.partitions p
on pc.partition_id = p.partition_id
join sys.columns c
on c.column_id = pc.partition_column_id
and c.object_id = p.object_id
where p.object_id = object_id(N'TABLE_NAME')
order by c.column_id;
,這是結果:
能否請您解釋一下爲什麼leaf_offset具有-1,-2和-3最後3列的值?
Here我發現了一些關於sys.system_internals_partition_columns的信息,但它不足以理解。注意:c.Name沒有NULL值。