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


Please Help Members By Posting Answers For Below Questions

How do I start sql server 2016?

516


How each E-R model constructs can be mapped to the relational model?

547


How except clause is differs from not in clause?

525


What is the command dbcc checkdb used for?

528


what is a join and explain different types of joins? : Sql server database administration

530






What does this statement do @@rowcount?

543


How to use union to merge outputs from two queries together in ms sql server?

553


Thanks to some maintenance being done, the sql server on a failover cluster needs to be brought down. How do you bring the sql server down?

519


What are the differences between union, intersect, and minus operators?

563


What is difference between foreign key and unique key?

544


What are SSL and TSL protocols?

577


What are the different types of locks in the database?

481


Explain boyce and codd normal form(bcnf)?

527


Explain error handling in ssis?

560


What are the different acid properties?

618