Skip to content

Commit 1cf24f7

Browse files
authored
Merge pull request #5114 from icoric/patch-32
Updated capitalization
2 parents b9212bd + 2b97c74 commit 1cf24f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/t-sql/functions/patindex-transact-sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ position
152152
The following example uses a variable to pass a value to the *pattern* parameter. This example uses the [!INCLUDE[ssSampleDBnormal](../../includes/sssampledbnormal-md.md)] database.
153153

154154
```sql
155-
DECLARE @MyValue varchar(10) = 'safety';
155+
DECLARE @MyValue VARCHAR(10) = 'safety';
156156
SELECT position = PATINDEX('%' + @MyValue + '%', DocumentSummary)
157157
FROM Production.Document
158158
WHERE DocumentNode = 0x7B40;

0 commit comments

Comments
 (0)