Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
CSS
When i take Stored Procedure from database using Help text, Queries and statements are in unaligned , each time i need to align and make my changes and then execute which is very time consuming . please help me how to recover from this.
example : raise
rror('test',16,1)

like above example statement was wrapped.
Posted
Updated 17-Apr-14 18:30pm
v3
Comments
ArunRajendra 10-Apr-14 0:39am    
Why do you want to get the statement every time.
deenasudhakar 10-Apr-14 7:23am    
I am working in ERP based company and business logic are handled in Stored Procedures, so
To fix any issues i need to take trace and get the stored procedures from back end.

1 solution

Check this option is visual studio. I am not sure if this will work in express edition if you don't have full version.

http://stackoverflow.com/questions/7385403/code-formatting-visual-studio-and-sql-server[^]
 
Share this answer
 
Comments
deenasudhakar 10-Apr-14 9:45am    
Hi Arun
Thanks for your comment. Provided solution not working. In case if you have any other ideas please share
Thanks once again. :)
ArunRajendra 11-Apr-14 0:29am    
What version of SQL management studio are you using?
deenasudhakar 11-Apr-14 6:20am    
Microsoft SQL Server 2008

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900