How can I programmatically check (parse) the validity of a TSQL statement?

后端 未结 7 511
礼貌的吻别
礼貌的吻别 2020-12-04 10:25

I\'m trying to make my integration tests more idempotent. One idea was to execute rollback after every test, the other idea was to some how programatically parse the text,

7条回答
  •  广开言路
    2020-12-04 10:57

    VSTSDBPro has a query parser you can access programmatically: http://blogs.msdn.com/b/gertd/archive/2008/08/21/getting-to-the-crown-jewels.aspx

提交回复
热议问题