Question
a.
SELECT OBJECT_NAME(p.object_id) AS TableName ,
i.name AS IndexName
FROM sys.partition AS p
INNER JOIN sys.indexes AS i ON p.object_id = i.object_id
AND p.index_id = i.index_id
WHERE partition_id = 72057594038845440
b.
SELECT OBJECT_NAME(p.object_id) AS TableName ,
i.name AS IndexName
FROM sys.partitions AS p
INNER JOIN sys.indexes AS i ON p.object_id = i.object_id
AND p.index_id = i.index_id
WHERE partition_id = 72057594038845440
c.
SELECT OBJECT_NAME(p.object_id) AS TableName ,
i.name AS IndexName
FROM sys.partitions AS p
INNER JOIN sys.index AS i ON p.object_id = i.object_id
AND p.index_id = i.index_id
WHERE partition_id = 72057594038845440
d.
None of the mentioned
Posted under SQL Server
i.name AS IndexName
FROM sys.partitions AS p
INNER JOIN sys.indexes AS i ON p.object_id = i.object_id
AND p.index_id = i.index_id
WHERE partition_id = 72057594038845440
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which of the following query returns object names from partition IDs?
Similar Questions
Discover Related MCQs
Q. Which of the following best practice should be carried out concerning data types?
View solution
Q. The transaction log supports which of the following operations?
View solution
Q. Point out the correct statement.
View solution
Q. Which of the log_reuse_wait_desc value has log_reuse_wait value 0?
View solution
Q. ACTIVE_TRANSACTION has log_reuse_wait value is _________
View solution
Q. Point out the wrong statement.
View solution
Q. ________ logging is not supported for memory-optimized tables.
View solution
Q. Index page deallocation during a ________ operation is always fully logged.
View solution
Q. Which of the following checkpoint has ‘recovery interval’ less than zero?
View solution
Q. Internal checkpoint is generated in response to which of the following event?
View solution
Q. __________ backups are taken in bulk or full recovery models only.
View solution
Q. Which of the following compression type is supported by SQL Server 2014?
View solution
Q. Point out the correct statement.
View solution
Q. Use _________ data compression to compress columnstore data with archival compression.
View solution
Q. To remove archival compression and restore the data to columnstore compression _____________
View solution
Q. Point out the wrong statement.
View solution
Q. The data_compression and data_compression_desc columns include ___________
View solution
Q. Which of the following code is used to enable compression on a table?
View solution
Q. sp_estimate_data_compression_savings requires ______ permission on the table.
View solution
Q. Which of the following query estimates the size of the Production.WorkOrderRouting table if it is compressed by using ROW compression?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond SQL Server? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!