Encapsulate as New Stored Procedure
When you use the Encapsulate as New Stored Procedure function, the script that it creates does not Lay Out SQL for you automatically. You must run the Lay Out SQL for it to modfy the script to format it per your options. Not sure if this is by design, but I would expect any scripts created by the Refactoring tool should use the options I specified.
0 · Share on Twitter