Skip to content

Commit bc53db4

Browse files
authored
capitalized the keywords
1 parent edbd799 commit bc53db4

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

docs/t-sql/xml/query-method-xml-data-type.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ Specifies an XQuery against an instance of the **xml** data type. The result is
2424
## Syntax
2525

2626
```syntaxsql
27-
2827
query ('XQuery')
2928
```
3029

@@ -43,8 +42,8 @@ The following example declares a variable **\@myDoc** of **xml** type and assign
4342
The query retrieves the <`Features`> child element of the <`ProductDescription`> element:
4443

4544
```sql
46-
declare @myDoc xml
47-
set @myDoc = '<Root>
45+
DECLARE @myDoc XML
46+
SET @myDoc = '<Root>
4847
<ProductDescription ProductID="1" ProductName="Road Bike">
4948
<Features>
5049
<Warranty>1 year parts and labor</Warranty>
@@ -107,7 +106,6 @@ SELECT CatalogDescription.query('<Product ProductModelID="{ /PD:ProductDescripti
107106
AS Result
108107
FROM Production.ProductModel
109108
WHERE CatalogDescription.exist('/PD:ProductDescription/PD:Features/WM:Warranty ') = 1;
110-
111109
```
112110

113111
## See Also

0 commit comments

Comments
 (0)