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
Tell me the phases a transaction has to undergo?
Explain relational data?
How many non clustered indexes there can be on table ?
Explain what are commit and rollback in sql?
What is the order by used for?
explain what is a schema in sql server 2005? Explain how to create a new schema in a database? : Sql server database administration
What is a covering index?
How to implement service broker?
How to call a function from a stored procedure in SQL Server ?
What are the main differences between #temp tables and @table variables and which one is preferred?
How to Insert multiple rows with a single insert statement?
How do I find the sql server version?
Define candidate key, alternate key, and composite key.
What happens if the update subquery returns no rows in ms sql server?
How will you optimize a stored procedure optimization?