Regular Expressions in SQL Server servers?

后端 未结 5 693
感情败类
感情败类 2020-11-27 06:18

Is it possible to make efficient queries that use the complete regular expression feature set.

If not Microsoft really should consider that feature.

5条回答
  •  独厮守ぢ
    2020-11-27 06:20

    For SQL Server 2000 (and any other 32 bit edition of SQL Server), there is xp_pcre, which introduces Perl compatible regular expressions as a set of extended stored procedures. I've used it, it works.

    The more recent versions give you direct access to the .NET integrated regular expressions (this link seems to be dead, here is another one: MSDN: How to: Work with CLR Database Objects).

提交回复
热议问题