gs gs116 Enterprise Data Management - Database Snapshots - Quiz No.1
gs gs116 Microsoft SQL Server Quiz
This quiz belongs to book/course code gs gs116 Microsoft SQL Server of gs organization. We have 100 quizzes available related to the book/course Microsoft SQL Server. This quiz has a total of 10 multiple choice questions (MCQs) to prepare and belongs to topic Enterprise Data Management. NVAEducation wants its users to help them learn in an easy way. For that purpose, you are free to prepare online MCQs and quizzes.
NVAEducation also facilitates users to contribute in online competitions with other students to make a challenging situation to learn in a creative way. You can create one to one, and group competition on an topic of a book/course code. Also on NVAEducation you can get certifications by passing the online quiz test.
CREATE Snapshot database_snapshot_name ON ( NAME = logical_file_name, FILENAME = 'os_file_name' )
CREATE DATABASESNAPSHOT database_snapshot_name ON ( NAME = logical_file_name, FILENAME = 'os_file_name' )
CREATE DATABASE database_snapshot_name ON ( NAME = logical_file_name, FILENAME = 'os_file_name' )
IF NOT EXISTS( SELECT * FROM sys.databases WHERE name = 'DatabaseA_Snapshot' AND source_database_id IS NOT NULL ) BEGIN CREATE DATABASE [DatabaseA_Snapshot] ON (NAME=DatabaseA, FileName='<whatever>') AS SNAPSHOT OF [DatabaseA] END
IF EXISTS( SELECT * FROM sys.databases WHERE name = 'DatabaseA_Snapshot' AND source_database_id IS NOT NULL ) BEGIN CREATE DATABASE [DatabaseA_Snapshot] ON (NAME=DatabaseA, FileName='<whatever>') AS SNAPSHOT OF [DatabaseA] END
IF NOT EXISTS( SELECT * FROM system.databases WHERE name = 'DatabaseA_Snapshot' AND source_database_id IS NOT NULL ) BEGIN CREATE DATABASE [DatabaseA_Snapshot] ON (NAME=DatabaseA, FileName='<whatever>') AS SNAPSHOT OF [DatabaseA] END
CREATE DATABASE AWDB_Snapshot_20080522 ON ( NAME = master, FILENAME = 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AWDB_Snapshot.ss') AS SNAPSHOT OF master;
CREATE DATABASE AWDB_Snapshot_2008 ON ( NAME = AdventureWorks_Data, FILENAME = 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AWDB_Snapshot.ss') AS SNAPSHOT OF AdventureWorks;
CREATE DATABASE AWDB_Snapshot_20080 ON ( NAME = AdventureWorks_Data, FILENAME = 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AWDB_Snapshot.ss') AS SNAPSHOT OF AdventureWorks;
CREATE DATABASE Snapshot_20080522 ON ( NAME = Adventure, FILENAME = 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AWDB_Snapshot.ss') AS SNAPSHOT OF Adventure;