RegEx for parsing SQL query in C#

后端 未结 2 689
南旧
南旧 2021-01-21 23:50

I need to write RegEx in C# to parse SQL join query which is given as a string. Can somebody please help me because I\'m new at this. Thanks a lot

this is my problem:

2条回答
  •  既然无缘
    2021-01-22 00:10

    Pulling this over from comments, since I think it's the right answer here:

    SQL is #3 on the list of Stuff You Should Not Try To Parse With A Regex, just behind HTML and MUMPS. Use a dialect-specific, dedicated SQL parser, not a regex.

提交回复
热议问题