开发者

what is the procedure in SQL server to not execute anything(T SQL commands) but outputs the commands it would execute

开发者 https://www.devze.com 2023-02-25 10:50 出处:网络
what is the procedure in SQL server to not execute anything(T SQL commands) but outputs the com开发者_如何学Gomands it would executeThere isn\'t one unless you are using dynamic SQL where you\'d use P

what is the procedure in SQL server to not execute anything(T SQL commands) but outputs the com开发者_如何学Gomands it would execute


There isn't one unless you are using dynamic SQL where you'd use PRINT

You can see a stored proc definition but this won't show you any actual parameter values etc


Are you thinking of SET SHOWPLAN_TEXT ON?

0

精彩评论

暂无评论...
验证码 换一张
取 消