Skip to content

Commit 4e84208

Browse files
authored
Added quotes around NUL
My apologies for a second PR. The backup database to {'physical file' | @physical_file | 'NUL' } needs the quotes around NUL.
1 parent 0613193 commit 4e84208

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
@@ -98,7 +98,7 @@ BACKUP LOG { database_name | @database_name_var }
9898
{
9999
{ logical_device_name | @logical_device_name_var }
100100
| { DISK | TAPE | URL} =
101-
{ 'physical_device_name' | @physical_device_name_var | NUL }
101+
{ 'physical_device_name' | @physical_device_name_var | 'NUL' }
102102
}
103103
104104
<MIRROR TO clause>::=
@@ -226,7 +226,7 @@ TO \<backup_device> [ **,**...*n* ]
226226
{ *logical_device_name* | **@***logical_device_name_var* }
227227
Is the logical name of the backup device to which the database is backed up. The logical name must follow the rules for identifiers. If supplied as a variable (@*logical_device_name_var*), the backup device name can be specified either as a string constant (@*logical_device_name_var***=** logical backup device name) or as a variable of any character string data type except for the **ntext** or **text** data types.
228228

229-
{ DISK | TAPE | URL} **=** { **'***physical_device_name***'** | **@***physical_device_name_var* | NUL }
229+
{ DISK | TAPE | URL} **=** { **'***physical_device_name***'** | **@***physical_device_name_var* | 'NUL' }
230230
Specifies a disk file or tape device, or a Windows Azure Blob storage service. The URL format is used for creating backups to the Windows Azure storage service. For more information and examples, see [SQL Server Backup and Restore with Microsoft Azure Blob Storage Service](../../relational-databases/backup-restore/sql-server-backup-and-restore-with-microsoft-azure-blob-storage-service.md). For a tutorial, see [Tutorial: SQL Server Backup and Restore to Windows Azure Blob Storage Service](~/relational-databases/tutorial-sql-server-backup-and-restore-to-azure-blob-storage-service.md).
231231

232232
[!NOTE]

0 commit comments

Comments
 (0)