Skip to content

Commit 2b6b80b

Browse files
authored
fix typos? in backup-sql-server-azure-troubleshoot.md
PLEASE someone who is familiar with this stuff double check what I changed. I'm not 100% sure, in case there are weird syntax with the stuff, but I did encounter an error message that mentions an unpaired quotation mark when I ran that SQL query.
1 parent 54e12d3 commit 2b6b80b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/backup/backup-sql-server-azure-troubleshoot.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,19 +276,19 @@ The total string size of files depends not only on the number of files but also
276276
```sql
277277
SELECT mf.name AS LogicalName, Physical_Name AS Location FROM sys.master_files mf
278278
               INNER JOIN sys.databases db ON db.database_id = mf.database_id
279-
               WHERE db.name = N'<Database Name>'"
279+
               WHERE db.name = N'<Database Name>'
280280
```
281281

282282
Now arrange them in the following format:
283283

284284
```json
285-
[{"path":"<Location>","logicalName":"<LogicalName>","isDir":false},{"path":"<Location>","logicalName":"<LogicalName>","isDir":false}]}
285+
[{"path":"<Location>","logicalName":"<LogicalName>","isDir":false},{"path":"<Location>","logicalName":"<LogicalName>","isDir":false}]
286286
```
287287

288288
Here's an example:
289289

290290
```json
291-
[{"path":"F:\\Data\\TestDB12.mdf","logicalName":"TestDB12","isDir":false},{"path":"F:\\Log\\TestDB12_log.ldf","logicalName":"TestDB12_log","isDir":false}]}
291+
[{"path":"F:\\Data\\TestDB12.mdf","logicalName":"TestDB12","isDir":false},{"path":"F:\\Log\\TestDB12_log.ldf","logicalName":"TestDB12_log","isDir":false}]
292292
```
293293

294294
If the string size of the content exceeds 20,000 bytes, the database files are stored differently. During recovery, you won't be able to set the target file path for restore. The files will be restored to the default SQL path provided by SQL Server.
@@ -336,7 +336,7 @@ In the preceding content, you can get the logical name of the database file by u
336336
```sql
337337
SELECT mf.name AS LogicalName FROM sys.master_files mf
338338
              INNER JOIN sys.databases db ON db.database_id = mf.database_id
339-
              WHERE db.name = N'<Database Name>'"
339+
              WHERE db.name = N'<Database Name>'
340340
```
341341

342342
This file should be placed before you trigger the restore operation.

0 commit comments

Comments
 (0)