Skip to content

Commit da46ec4

Browse files
authored
Update docs/database-engine/service-broker/lesson-4-beginning-a-conversation-and-transmitting-messages.md
1 parent b5af2a6 commit da46ec4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/database-engine/service-broker/lesson-4-beginning-a-conversation-and-transmitting-messages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ In this lesson, you learn to start a conversation that spans two databases in th
2929

3030
### Start a conversation and send a request message
3131

32-
- Copy and paste the following code into a Query Editor window, t run it to start a conversation and send a request message to the **//TgtDB/2DBSample/TargetService** in the **TargetDB**. The code must be run in one block because a variable is used to pass a dialog handle from `BEGIN DIALOG` to the `SEND` statement. The batch runs the `BEGIN DIALOG` statement to begin the conversation and build a request message. Then, it uses the dialog handle in a `SEND` statement to send the request message on that conversation. The last `SELECT` statement displays the text of the message that was sent.
32+
- Copy and paste the following code into a Query Editor window, then run it to start a conversation and send a request message to the **//TgtDB/2DBSample/TargetService** in the **TargetDB**. The code must be run in one block because a variable is used to pass a dialog handle from `BEGIN DIALOG` to the `SEND` statement. The batch runs the `BEGIN DIALOG` statement to begin the conversation and build a request message. Then, it uses the dialog handle in a `SEND` statement to send the request message on that conversation. The last `SELECT` statement displays the text of the message that was sent.
3333

3434
```sql
3535
DECLARE @InitDlgHandle AS UNIQUEIDENTIFIER;

0 commit comments

Comments
 (0)