Administering Microsoft SQL Server 2012/2014 Databases — Question 43

You administer a Microsoft Azure SQL Database database named Orders.
You need to create a copy of Orders named Orders_Reporting.
Which Transact-SQL command should you use?

Answer options

Correct answer: C

Explanation

The correct answer is C because the CREATE DATABASE command with AS COPY OF allows for a straightforward duplication of the existing database in Azure SQL Database. Options A and B are incorrect as they attempt to use backup and restore commands, which are not applicable for creating a copy in Azure SQL Database. Option D is also incorrect as it does not follow the proper syntax for creating a copy of a database.