write the query for taking database backup in sql
Answer Posted / madhu
BACKUP DATABASE
[db_SourceDbName] --SOURCE DB
TO DISK = N'\\192.168..124\db_TragetDbName.BAK' -- LOCATION
FILE NAME
WITH
NOFORMAT,
NOINIT,
NAME = N'myDbFull Backu[p-Full Database Backup',
SKIP,
NOREWIND,
NOUNLOAD,
STATS = 10
GO
| Is This Answer Correct ? | 36 Yes | 21 No |
Post New Answer View All Answers
How connect excel to sql server?
How to insert a new row into a table with "insert into" statements in ms sql server?
What do you understand by SQL*Net?
What is an execution plan? How would you view the execution plan?
What is the difference between sdf and mdf?
What is the importance of concurrency control?
What do you mean by an execution plan?
How to include date and time values in sql statements?
Why I am getting this error when dropping a database in ms sql server?
What is an inner join?
How to execute the cursor queries with "open" statements?
Does the order of columns in update statements matter?
What is SQL Server?
What are the new features in sql server 2016?
Who is the owner of a schema in ms sql server?