Quantcast
Channel: Effect Labs Blog
Viewing all articles
Browse latest Browse all 37

SQL SERVER - Create Database Backup Using Script

$
0
0

Here, In this article we will learn that how to create database backup file using sql script.

We use BACKUP command for creating database backup in sql server.

Syntax of Backup command:

BACKUP DATABASE <database name>

TO DISK = <file path>

Arguments:

database name                        :     Database name

file path                                  :     Backup file path

For Example:

BACKUP DATABASE ENTERPRISE
TO DISK = 'D:\Backup\Enterprise.bak'

GO



Viewing all articles
Browse latest Browse all 37

Trending Articles