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

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -