Microsoft
70-432 · Question #138
You administer a SQL Server 2008 instance that contains a database named SpatialDB. The SpatialDB database includes spatial data types. You need to perform a database consistency check on SpatialDB…
The correct answer is D. DBCC CHECKDB (SpatialDB) WITH EXTENDED_LOGICAL_CHECKS. See the full explanation below for the reasoning.
Question
You administer a SQL Server 2008 instance that contains a database named SpatialDB. The SpatialDB database includes spatial data types. You need to perform a database consistency check on SpatialDB to include the spatial indexes. You also need to ensure that the effect on the database concurrency is minimized. Which Transact-SQL statement should you execute?
Options
- ADBCC CHECKCATALOG (SpatialDB);
- BDBCC CHECKALLOC (SpatialDB) WITH TABLOCK;
- CDBCC CHECKDB (SpatialDB) WITH TABLOCK. PHYSICAL_ONLY:
- DDBCC CHECKDB (SpatialDB) WITH EXTENDED_LOGICAL_CHECKS:
How the community answered
(38 responses)- A5% (2)
- B8% (3)
- C3% (1)
- D84% (32)
Community Discussion
No community discussion yet for this question.