About 1,060,000 results
Open links in new tab
  1. RESTORE (Transact-SQL) - SQL Server | Microsoft Learn

    Jan 15, 2024 · Restore to SQL Server 2022 and the auto drop feature. When restoring a database to SQL Server 2022 (16.x) from a previous version, it is recommended to execute sp_updatestats on the database, setting the proper metadata for the statistics auto drop feature.

  2. Restore a SQL Server Database (T-SQL)

    Jul 7, 2021 · Restore an entire database from a full database backup (a complete restore). Restore part of a database (a partial restore). Restore specific files or filegroups to a database (a file restore).

  3. How to restore to a different database in SQL Server?

    Jun 7, 2011 · For an existing database that you wish to "restore: from a backup of a different database follow these steps: From the toolbar, click the Activity Monitor button. Click processes. Filter by the database you want to restore. Kill all running processes by right clicking on each process and selecting "kill process".

  4. Restore SQL Server database and overwrite existing database

    Mar 17, 2009 · WITH REPLACE allows you to write over an existing database when doing a restore without first backing up the tail of the transaction log. The WITH REPLACE basically tells SQL Server to just throw out any active contents in the …

  5. Restore SQL Server Database Backup Using T-SQL Script and …

    Jan 13, 2021 · Learn how to restore the main types of SQL Server database backup in two most common ways: using T-SQL script and via SSMS.

  6. Restore Database SQL Server Options and Examples

    Jun 21, 2021 · In this article we look at different SQL Server backup types and schedules and the steps to take to properly restore a database.

  7. T-SQL Backup and Restore SQL Server - T-SQL Tutorial

    This article describes the basics of backup and restore a SQL Server database. T-SQL statements allow to back up and restore your SQL SERVER database. Also, you can export and import security certificates and keys.

  8. Restore database: simple recovery model (Transact-SQL) - SQL Server

    Aug 10, 2023 · To change the setting of the upgrade_option server property, use sp_fulltext_service. This example restores the AdventureWorks2022 full database backup from tape. FROM TAPE = '\\.\Tape0'; . This article explains how to restore a full SQL Server database backup under the simple recovery model using Transact-SQL.

  9. Restoring, recovering, and managing backups - SQL Server

    Mar 3, 2023 · Describes the RESTORE DATABASE and RESTORE LOG Transact-SQL statements used to restore and recover a database from backups taken using the BACKUP command. RESTORE DATABASE is used for databases under all recovery models. RESTORE LOG is used only under the full and bulk-logged recovery models.

  10. How to Restore Database Backup With T-SQL - DZone

    Jan 10, 2021 · RESTORE DATABASE is a very common and universal T-SQL command to restore SQL Server backups since the language works in almost any environment or tool that understands it. Therefore, you can...

  11. Some results have been removed
Refresh