adplus-dvertising
frame-decoration

Question

Which of the following script can check the database recovery model by querying sys.databases for log shipping?

a.

SELECT name, recovery_model_desc FROM sys.databases WHERE name = 'jugal'

USE [master]
GO
UPDATE DATABASE [jugal] SET RECOVERY FULL WITH NO_WAIT
GO

b.

SELECT name, recovery_model_desc FROM sys.databases WHERE name = 'jugal'

USE [master]
GO
ALTER DATABASE [jugal] SET RECOVERY FULL WITH NO_WAIT
GO

c.

SELECT name, recovery_model_desc FROM sys.databases WHERE name = 'jugal'

USE [master]
GO
DROP DATABASE [jugal] SET RECOVERY FULL WITH NO_WAIT
GO

d.

None of the mentioned

Posted under SQL Server

Answer: (b).SELECT name, recovery_model_desc FROM sys.databases WHERE name = 'jugal'

USE [master]
GO
ALTER DATABASE [jugal] SET RECOVERY FULL WITH NO_WAIT
GO

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 script can check the database recovery model by querying sys.databases for log shipping?

Similar Questions

Discover Related MCQs

Q. Point out the wrong statement.

Q. Which of the following stored procedure is used to add a primary database on primary server?

Q. Execute sp_add_jobschedule to add a schedule for the backup job on _________ server.

Q. Which of the following is correct syntax for sp_add_log_shipping_secondary_primary?

Q. Which of the following table stores history detail for log shipping jobs?

Q. _____________ maps primary databases to secondary databases in log shipping.

Q. ___________ feature will be removed in a future version of Microsoft SQL Server.

Q. Point out the correct statement.

Q. Which of the following benefit is provided by database mirroring?

Q. Database mirroring operates in how many modes?

Q. Point out the wrong statement.

Q. Which of the following modes writes the data on the principal and mirror databases synchronously?

Q. The high performance mode is only available in the __________ edition of SQL Server.

Q. Which of the following script will backup the database requires for database mirroring?

Q. Which of the following is an upgrade step to database mirroring?

Q. Which of the following pair of technology is supported in SQL Server?

Q. Which of the following scenario prefers failover cluster instance over stand alone instance in SQL Server?

Q. Point out the correct statement.

Q. Benefits that SQL Server failover cluster instances provide ____________

Q. The resources owned by WSFC node include ___________