Get the App
SLTechnology News&Howtos  ›  Database  › 

How to realize database backup and recovery through query analyzer in sql server

Shulou Source: shulou.com Published: 2022-05-31 19:18:25 11月12日 Update

This article will explain in detail how to achieve database backup and recovery through query analyzer in sql server. The content of the article is of high quality, so the editor will share it for you as a reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.

Backup and recovery of sql server (query Analyzer) query Analyzer: commands:

1: backup database command: backup database whdb1 (name of database to be backed up) to disk='d:/zwh.bak'

2: restore database command: restore database whdb1 (database name to be restored) from disk='d:/zwh.bak'

3: command for backing up tables: select * into share_20090605 (data backed up) from share (table name)

How to achieve database backup and recovery through query analyzer in sql server is shared here. I hope the above content can be helpful to everyone and learn more knowledge. If you think the article is good, you can share it for more people to see.

Tags: Backup data database analyzer analysis query command content article more knowledge article good quality reference help related Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi MariaDB Microsoft Docker macOS