SQL Server regular expressions

后端 未结 2 708
孤城傲影
孤城傲影 2020-12-07 01:26

Wondering if it is possible to incorporate regular expressions into a SQL statement on SQL Server? I\'m only finding that Oracle supports Regular Expressions.

2条回答
  •  抹茶落季
    2020-12-07 01:51

    SQL Server supports limited pattern matching in the PATINDEX and LIKE expressions.

    There's no native regex support in SQL Server, but you can expose the functionality in SQL Server 2005+ via CLR.

提交回复
热议问题