Skip to content

Commit 61b6758

Browse files
authored
Revert "Update function"
1 parent 8c4b962 commit 61b6758

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/t-sql/functions/regexp-like-transact-sql.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ REGEXP_LIKE
2929
)
3030
```
3131

32+
> [!NOTE]
33+
> **REGEXP_LIKE** is available only under compatibility level 170 and above. If your database compatibility level is lower than 170, SQL Server can't find and run **REGEXP_LIKE**. Other regular expression scalar functions are available at all compatibility levels.
34+
>
35+
> You can check compatibility level in the `sys.databases` view or in database properties. You can change the compatibility level of a database with the following command:
36+
>
37+
> ```sql
38+
> ALTER DATABASE [DatabaseName] SET COMPATIBILITY_LEVEL = 170;
39+
> ```
40+
3241
## Arguments
3342
3443
#### *string_expression*

0 commit comments

Comments
 (0)