DATETIME SELECT SELECT INTO DATE PAD STRING DYNAMIC SQL CURSOR MONEY FORMAT PERCENT STORED PROCEDURE SQL SERVER AGENT JOB OPTIMIZATION WHILE LOOP OVER PARTITION BY UPDATE
 
 
SITE SEARCH SQLUSA.com VIDEOS
 
 
SQL E/BOOKS   WORLD, USA & SQL NEWS   FORMAT
SCRIPTS SQL 2005 SQL 2008 ARTICLES
How to change Recovery Model for backup purposes?

Execute the following Microsoft SQL Server T-SQL scripts in SSMS Query Editor to change recovery model.

Transaction log backups are not meaningful in SIMPLE mode. Full database backups can be used for recovery when in SIMPLE mode. In FULL recovery point-in-time restore is possible as long as the backup files (full, transaction, optionally differential) available.

USE master;

GO

-- Set recovery model to SIMPLE

ALTER DATABASE AdventureWorks

SET RECOVERY SIMPLE;

GO

-- Command(s) completed successfully.

 

-- Set recovery model to FULL

ALTER DATABASE AdventureWorks

SET RECOVERY FULL;

GO

-- Command(s) completed successfully.

 

Exam Prep 70-461
SQL 2016 DESIGN & PROGRAMMING
 
 
 
DATETIME SELECT SELECT INTO DATE PAD STRING DYNAMIC SQL CURSOR MONEY FORMAT PERCENT STORED PROCEDURE SQL SERVER AGENT JOB OPTIMIZATION WHILE LOOP OVER PARTITION BY UPDATE