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

Commit 7e8812a

Browse files
committed
add lanaguage to code block (3)
1 parent 5ac8580 commit 7e8812a

2 files changed

Lines changed: 12 additions & 11 deletions

File tree

docs/database-engine/service-broker/how-to-activate-service-broker-message-delivery-in-databases-transact-sql.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ By default, Service Broker message delivery is active in a database when the dat
2525

2626
## Example
2727

28-
2928
```
3029
USE master ;
3130
GO

docs/database-engine/service-broker/lesson-1-creating-the-base-conversation-objects.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,16 @@ In this lesson, you will learn to build all the objects that enable a database t
2525
[!INCLUDE [SQL Server Service Broker AdventureWorks2008R2](../../includes/service-broker-adventureworks-2008-r2.md)]
2626

2727
- Copy and paste the following code into a Query Editor window. Then, run it to ensure that Service Broker is enabled in the AdventureWorks2008R2 database, and switch context to the database.
28-
```
29-
USE master;
30-
GO
31-
ALTER DATABASE AdventureWorks2008R2
32-
SET ENABLE_BROKER;
33-
GO
34-
USE AdventureWorks2008R2;
35-
GO
36-
```
28+
29+
```sql
30+
USE master;
31+
GO
32+
ALTER DATABASE AdventureWorks2008R2
33+
SET ENABLE_BROKER;
34+
GO
35+
USE AdventureWorks2008R2;
36+
GO
37+
```
3738

3839
### Create the message types
3940

@@ -51,7 +52,8 @@ In this lesson, you will learn to build all the objects that enable a database t
5152
### Create the contract
5253

5354
- Copy and paste the following code into a Query Editor window. Then, run it to create the contract for the conversation. The contract specifies that conversations that use it must send messages of the **//AWDB/InternalAct/RequestMessage** type from the initiator to the target, and messages of the **//AWDB/InternalAct/ReplyMessage** type from the target to the initiator.
54-
```sql
55+
56+
```sql
5557
CREATE CONTRACT [//AWDB/InternalAct/SampleContract]
5658
([//AWDB/InternalAct/RequestMessage]
5759
SENT BY INITIATOR,

0 commit comments

Comments
 (0)