Which option of the BACKUP LOG command should you use?

Correct Answer for the Question – Which option of the BACKUP LOG command should you use? is given below You administer a Microsoft SQL Server 2012 database. The database is currently configured to log ship to a secondary server.You are preparing to cut over to the secondary server by stopping log-shipping and bringing the secondary database … Read more

Which Transact-SQL batch should you use?

Correct Answer for the Question – Which Transact-SQL batch should you use? is given below You administer a Microsoft SQL Server 2012 database that contains a table named OrderDetail.You discover that the NCI_OrderDetail_CustomerID non-clustered index is fragmented. You need to reduce fragmentation. You need to achieve this goal without taking the index offline.Which Transact-SQL batch should … Read more

Which argument in sp_addmessage should you configure?

Correct Answer for the Question – Which argument in sp_addmessage should you configure? is given below A Microsoft SQL Server instance has a database named Employees. The database contains information about employees including their salary.You must create a custom system message as an alert when an error is raised.You need to create the custom message in … Read more

Which Transact-SQL command should you use?

Correct Answer for the Question – Which Transact-SQL command should you use? is given below You administer a Windows 2008 server hosting an instance of Microsoft SQL Server 2012 Standard Edition. The server hosts a database named Orders.Users report that a query that filters on OrderDate is taking an exceptionally long time. You discover that an … Read more

Which statement should you execute?

Correct Answer for the Question – Which statement should you execute? is given below You have a database named DB1 that contains a table named Table1. Tabe1 has a non-clustered index named index1.You discover that index1 is corrupt.You need to repair index1.Which statement should you execute?If REBUILD is performed online (ON) the data in this table … Read more