SQL Server Getting Parsed Query -
i need each statement of given sql server stored procedure.
to achieve this, generate execution plan xml , "stmtsimple" nodes in query.
this approach quite slow large procedures.
is there way can every single statement of procedure without generating xml execution plan?
when have text of stored procedure, can perform full parse on using transactsql scriptdom. if want each statement, it's possible using method.
however, i'm not convinced perform better using method using now. it's option try.
edit -> scriptdom part of sql server 2012 feature pack, , contained in 'sqldom.msi' install.
Comments
Post a Comment