REGEX

  • Comments posted to this topic are about the item REGEX

  • Great question, thanks.

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • Nice one....

  • That's true:

    In SQL Server, regular expressions really are poor.

    😎

  • This was removed by the editor as SPAM

  • As far as I know SQL Server can only handle REGEX via the CLR, so .NET.

    The queries as shown here were not using REGEX.

  • Mighty (11/14/2013)


    As far as I know SQL Server can only handle REGEX via the CLR, so .NET.

    The queries as shown here were not using REGEX.

    +1

    This was a really good question to test understanding of SQL string pattern matching (thanks Steve!) but I don't believe it strictly counts as Regex.

  • alex.d.garland (11/14/2013)


    Mighty (11/14/2013)


    As far as I know SQL Server can only handle REGEX via the CLR, so .NET.

    The queries as shown here were not using REGEX.

    +1

    This was a really good question to test understanding of SQL string pattern matching (thanks Steve!) but I don't believe it strictly counts as Regex.

    Well, surely some of it is the nearest thing T-SQL has to REGEX? Maybe some of it really is too unlike REGEX to be thought of that way, but definitely some of it isn't.

    Tom

  • Excellent question. Simply explained and good references. Thanks!

    [font="Verdana"]Please don't go. The drones need you. They look up to you.[/font]
    Connect to me on LinkedIn

  • Stewart "Arturius" Campbell (11/14/2013)


    Agree with the point regarding regex in T-SQL. .Net is definitely much more efficient in this regard...

    +1 Thanks for the great question.



    Everything is awesome!

  • Simple question but lots of mental work. Thanks, Steve!

  • Cool question, thanks.

    - webrunner

    -------------------
    A SQL query walks into a bar and sees two tables. He walks up to them and asks, "Can I join you?"
    Ref.: http://tkyte.blogspot.com/2009/02/sql-joke.html

  • Mighty (11/14/2013)


    As far as I know SQL Server can only handle REGEX via the CLR, so .NET.

    The queries as shown here were not using REGEX.

    What do you mean with that? As far as I understand, the examples did use regular expressions - a very limited form though.

    Best Regards,

    Chris Büttner

  • Good question Steve. It gave me little hard time. 🙂

  • good question !

    eliminating possibilities one by one give a good guess

    thanks

Viewing 15 posts - 1 through 14 (of 14 total)

You must be logged in to reply to this topic. Login to reply