Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit ce11058

Browse files
MichaelEbertMashaMSFT
authored andcommitted
Show 'backup compression algorithm' effects on backup statement
`WITH COMPRESSION ` will use the backup algorithm specified by server property 'backup compression algorithm', not always ms_xpress.
1 parent a9dae91 commit ce11058

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/t-sql/statements/backup-transact-sql.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,8 +460,8 @@ Sample behaviors:
460460

461461
| BACKUP STATEMENT | OUTCOME |
462462
|---------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------|
463-
| `BACKUP DATABASE <database_name> TO {DISK\|TAPE\|URL}` | Backup without any compression |
464-
| `BACKUP DATABASE <database_name> TO {DISK\|TAPE\|URL} WITH COMPRESSION` | Backup with compression using MS_XPRESS algorithm |
463+
| `BACKUP DATABASE <database_name> TO {DISK\|TAPE\|URL} WITH NO_COMPRESSION`| Backup without any compression |
464+
| `BACKUP DATABASE <database_name> TO {DISK\|TAPE\|URL} WITH COMPRESSION` | Backup with compression using the algorithm specified by the server option `backup compression algorithm` (default MS_XPRESS) |
465465
| `BACKUP DATABASE <database_name> TO {DISK\|TAPE\|URL} WITH COMPRESSION (ALGORITHM = MS_XPRESS)` | Backup with compression using MS_XPRESS algorithm |
466466
| `BACKUP DATABASE <database_name> TO {DISK\|TAPE\|URL} WITH COMPRESSION (ALGORITHM = ZSTD)` | Backup with compression using ZSTD algorithm. |
467467
| `BACKUP DATABASE <database_name> TO {DISK\|TAPE\|URL} WITH COMPRESSION (ALGORITHM = ZSTD, LEVEL = HIGH)` | Backup with compression using ZSTD algorithm with compression level HIGH. |

0 commit comments

Comments
 (0)