Skip to content

Commit a9307cc

Browse files
authored
add sql colorizer
1 parent 6c4c4d9 commit a9307cc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/t-sql/xml/binding-relational-data-inside-xml-data.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ ms.author: genemi
4040
## Example: Cross-domain Query Using sql:variable()
4141
This example shows how **sql:variable()** can enable an application to parameterize a query. The ISBN is passed in by using a SQL variable @isbn. By replacing the constant with **sql:variable()**, the query can be used to search for any ISBN and not just the one whose ISBN is 0-7356-1588-2.
4242

43-
```
44-
DECLARE @isbn varchar(20)
43+
```sql
44+
DECLARE @isbn VARCHAR(20)
4545
SET @isbn = '0-7356-1588-2'
4646
SELECT xCol
4747
FROM T

0 commit comments

Comments
 (0)