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

Commit b6adccd

Browse files
authored
Merge pull request #28009 from rwestMSFT/rw-0809-adventureworks-003
[SCOPED] Update AdventureWorks references
2 parents b54adfc + 0f53a95 commit b6adccd

509 files changed

Lines changed: 1471 additions & 1466 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/azure-data-studio/extensions/powershell-extension.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Here is a sample of what that output will look like:
176176
Name Status Size Space Recovery Compat. Owner
177177
Available Model Level
178178
---- ------ ---- ---------- -------- ------- -----
179-
AdventureWorks2017 Normal 336.00 MB 57.01 MB Simple 140 sa
179+
AdventureWorks2022 Normal 336.00 MB 57.01 MB Simple 140 sa
180180
master Normal 6.00 MB 368.00 KB Simple 140 sa
181181
model Normal 16.00 MB 5.53 MB Full 140 sa
182182
msdb Normal 48.44 MB 1.70 MB Simple 140 sa
@@ -221,7 +221,7 @@ Here is a sample of what that output will look like:
221221
Name Status Size Space Recovery Compat. Owner
222222
Available Model Level
223223
---- ------ ---- ---------- -------- ------- -----
224-
AdventureWorks2017 Normal 336.00 MB 57.01 MB Simple 140 sa
224+
AdventureWorks2022 Normal 336.00 MB 57.01 MB Simple 140 sa
225225
master Normal 6.00 MB 368.00 KB Simple 140 sa
226226
model Normal 16.00 MB 5.53 MB Full 140 sa
227227
msdb Normal 48.44 MB 1.70 MB Simple 140 sa

docs/connect/ado-net/sql/bulk-copy-example-setup.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ A few of the code samples demonstrate how to use one <xref:Microsoft.Data.SqlCli
2828
To create the tables necessary for the code samples to run correctly, you must run the following Transact-SQL statements in a SQL Server database.
2929

3030
```sql
31-
USE AdventureWorks
31+
USE AdventureWorks2022;
32+
GO
3233

3334
IF EXISTS (SELECT * FROM dbo.sysobjects
3435
WHERE id = object_id(N'[dbo].[BulkCopyDemoMatchingColumns]')

docs/connect/jdbc/using-bulk-copy-with-the-jdbc-driver.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ A few of the code samples demonstrate how to use one `SQLServerBulkCopy` class t
4343
To create the tables necessary for the code samples to run correctly, you must run the following Transact-SQL statements in a SQL Server database.
4444

4545
```sql
46-
USE AdventureWorks
46+
USE AdventureWorks2022;
47+
GO
4748

4849
IF EXISTS (SELECT * FROM dbo.sysobjects
4950
WHERE id = object_id(N'[dbo].[BulkCopyDemoMatchingColumns]')

docs/relational-databases/backup-restore/back-up-a-transaction-log-sql-server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Execute the BACKUP LOG statement to back up the transaction log, specifying the
136136
This example creates a transaction log backup for the [!INCLUDE[ssSampleDBobject](../../includes/sssampledbobject-md.md)] database to the previously created named backup device, `MyAdvWorks_FullRM_log1`.
137137

138138
```sql
139-
BACKUP LOG AdventureWorks2012
139+
BACKUP LOG AdventureWorks2022
140140
TO MyAdvWorks_FullRM_log1;
141141
GO
142142
```

docs/relational-databases/backup-restore/back-up-the-transaction-log-when-the-database-is-damaged-sql-server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ helpviewer_keywords:
150150
This example backs up the currently active transaction log when a database is damaged and inaccessible, if the transaction log is undamaged and accessible.
151151

152152
```sql
153-
BACKUP LOG AdventureWorks2012
153+
BACKUP LOG AdventureWorks2022
154154
TO MyAdvWorks_FullRM_log1
155155
WITH NO_TRUNCATE;
156156
GO

docs/relational-databases/backup-restore/back-up-to-a-mirrored-media-set-transact-sql.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ ms.topic: conceptual
1616
The following example creates the mirrored media set illustrated in the previous illustration and backs up the [!INCLUDE[ssSampleDBobject](../../includes/sssampledbobject-md.md)] database to both mirrors.
1717

1818
```sql
19-
BACKUP DATABASE AdventureWorks2012
19+
BACKUP DATABASE AdventureWorks2022
2020
TO TAPE = '\\.\tape0', TAPE = '\\.\tape1'
2121
MIRROR TO TAPE = '\\.\tape2', TAPE = '\\.\tape3'
2222
WITH
2323
FORMAT,
24-
MEDIANAME = 'AdventureWorks2012Set1';
24+
MEDIANAME = 'AdventureWorks2022Set1';
2525
GO
2626
```
2727

docs/relational-databases/backup-restore/complete-database-restores-full-recovery-model.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,30 +82,30 @@ For information about support for backups from earlier versions of [!INCLUDE[ssN
8282
```
8383
USE master;
8484
--Create tail-log backup.
85-
BACKUP LOG AdventureWorks2012
85+
BACKUP LOG AdventureWorks2022
8686
TO DISK = 'Z:\SQLServerBackups\AdventureWorksFullRM.bak'
8787
WITH NORECOVERY;
8888
GO
8989
--Restore the full database backup (from backup set 1).
90-
RESTORE DATABASE AdventureWorks2012
90+
RESTORE DATABASE AdventureWorks2022
9191
FROM DISK = 'Z:\SQLServerBackups\AdventureWorksFullRM.bak'
9292
WITH FILE=1,
9393
NORECOVERY;
9494
9595
--Restore the regular log backup (from backup set 2).
96-
RESTORE LOG AdventureWorks2012
96+
RESTORE LOG AdventureWorks2022
9797
FROM DISK = 'Z:\SQLServerBackups\AdventureWorksFullRM.bak'
9898
WITH FILE=2,
9999
NORECOVERY;
100100
101101
--Restore the tail-log backup (from backup set 3).
102-
RESTORE LOG AdventureWorks2012
102+
RESTORE LOG AdventureWorks2022
103103
FROM DISK = 'Z:\SQLServerBackups\AdventureWorksFullRM.bak'
104104
WITH FILE=3,
105105
NORECOVERY;
106106
GO
107107
--recover the database:
108-
RESTORE DATABASE AdventureWorks2012 WITH RECOVERY;
108+
RESTORE DATABASE AdventureWorks2022 WITH RECOVERY;
109109
GO
110110
```
111111

docs/relational-databases/backup-restore/complete-database-restores-simple-recovery-model.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,25 +68,25 @@ helpviewer_keywords:
6868
```
6969
USE master;
7070
--Make sure the database is using the simple recovery model.
71-
ALTER DATABASE AdventureWorks2012 SET RECOVERY SIMPLE;
71+
ALTER DATABASE AdventureWorks2022 SET RECOVERY SIMPLE;
7272
GO
73-
-- Back up the full AdventureWorks2012 database.
74-
BACKUP DATABASE AdventureWorks2012
75-
TO DISK = 'Z:\SQLServerBackups\AdventureWorks2012.bak'
73+
-- Back up the full AdventureWorks2022 database.
74+
BACKUP DATABASE AdventureWorks2022
75+
TO DISK = 'Z:\SQLServerBackups\AdventureWorks2022.bak'
7676
WITH FORMAT;
7777
GO
7878
--Create a differential database backup.
79-
BACKUP DATABASE AdventureWorks2012
80-
TO DISK = 'Z:\SQLServerBackups\AdventureWorks2012.bak'
79+
BACKUP DATABASE AdventureWorks2022
80+
TO DISK = 'Z:\SQLServerBackups\AdventureWorks2022.bak'
8181
WITH DIFFERENTIAL;
8282
GO
8383
--Restore the full database backup (from backup set 1).
84-
RESTORE DATABASE AdventureWorks2012
85-
FROM DISK = 'Z:\SQLServerBackups\AdventureWorks2012.bak'
84+
RESTORE DATABASE AdventureWorks2022
85+
FROM DISK = 'Z:\SQLServerBackups\AdventureWorks2022.bak'
8686
WITH FILE=1, NORECOVERY;
8787
--Restore the differential backup (from backup set 2).
88-
RESTORE DATABASE AdventureWorks2012
89-
FROM DISK = 'Z:\SQLServerBackups\AdventureWorks2012.bak'
88+
RESTORE DATABASE AdventureWorks2022
89+
FROM DISK = 'Z:\SQLServerBackups\AdventureWorks2022.bak'
9090
WITH FILE=2, RECOVERY;
9191
GO
9292
```

docs/relational-databases/backup-restore/define-a-logical-backup-device-for-a-disk-file-sql-server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ helpviewer_keywords:
8080
3. Copy and paste the following example into the query window and click **Execute**. This example shows how to use [sp_addumpdevice](../../relational-databases/system-stored-procedures/sp-addumpdevice-transact-sql.md) to define a logical backup device for a disk file. The example adds the disk backup device named `mydiskdump`, with the physical name `c:\dump\dump1.bak`.
8181

8282
```sql
83-
USE AdventureWorks2012 ;
83+
USE AdventureWorks2022;
8484
GO
8585
EXEC sp_addumpdevice 'disk', 'mydiskdump', 'c:\dump\dump1.bak' ;
8686
GO

docs/relational-databases/backup-restore/define-a-logical-backup-device-for-a-tape-drive-sql-server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ helpviewer_keywords:
7979
3. Copy and paste the following example into the query window and click **Execute**. This example shows how to use [sp_addumpdevice](../../relational-databases/system-stored-procedures/sp-addumpdevice-transact-sql.md) to define a logical backup device for a tape. The example adds the tape backup device named `tapedump1`, with the physical name `\\.\tape0`.
8080

8181
```sql
82-
USE AdventureWorks2012 ;
82+
USE AdventureWorks2022;
8383
GO
8484
EXEC sp_addumpdevice 'tape', 'tapedump1', '\\.\tape0' ;
8585
GO

0 commit comments

Comments
 (0)