Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

spacing when I script my objects

Status
Not open for further replies.

mjp483

Programmer
Apr 27, 2004
42
US
After I script my procs from enterprise manager, I paste the script into query analyzer and run it. When I open the newly scripted procs, they are all missing the spacing I that was present in the source procs. Is there a way to maintain the spacing?
 
mjp483,
I am not sure if I understand your question right, but here is my take on it.

If you create a procedure in query analyzer (with the text indended) then to retain the code double click on stored procedure in EM (under databases --> stored procedures) to view the code (with indentations intact). On the other hand if you run sp_helptext 'your_procedure_name' in QA then the output is not indented.


Hope this helps,
Regards,
--aa
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top