Skip to content

Commit ff050b7

Browse files
authored
Update patindex-transact-sql.md
User Feedback 366915: UUF - sql-docs-pr - PATINDEX (Transact-SQL) - SQL Server | Microsoft Learn
1 parent 0b9c112 commit ff050b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ PATINDEX ( '%pattern%' , expression )
4747
**bigint** if *expression* is of the **varchar(max)** or **nvarchar(max)** data types; otherwise **int**.
4848

4949
## Remarks
50-
If either *pattern* or *expression* is NULL, PATINDEX returns NULL.
50+
If *pattern* is NULL, PATINDEX returns NULL.
51+
52+
If expression is NULL, PATINDEX returns error.
5153

5254
The starting position for PATINDEX is 1.
5355

0 commit comments

Comments
 (0)