1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| SELECT
tb.name AS TableName,
C.name AS column_name,
C.column_id,
PC.max_inrow_length,
PC.system_type_id,
PC.leaf_offset
, PC.partition_id
, P.*
FROM
sys.system_internals_partition_columns PC
INNER JOIN sys.partitions AS P
ON P.partition_id = PC.partition_id
AND P.index_id in (0, 1)
INNER JOIN sys.columns AS C
ON C.column_id = PC.partition_column_id
AND C.object_id = P.object_id
INNER JOIN sys.tables tb
ON tb.object_id = P.object_id
WHERE
P.object_id = OBJECT_ID('DimIndicateur') |