You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
392 B
6 lines
392 B
select P.data_space_id AS ID, DS.Name AS FileGroupName,P.Name, F.name AS FunctionName
|
|
from sys.partition_schemes P
|
|
INNER JOIN sys.partition_functions F ON F.function_id = P.function_id
|
|
INNER JOIN sys.destination_data_spaces DF ON DF.partition_scheme_id = P.data_space_id
|
|
INNER JOIN sys.data_spaces DS ON DS.data_space_id = DF.data_space_id
|
|
ORDER BY P.data_space_id, DF.destination_id |