SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Code Formating breaks the code

 
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant View previous topic
View next topic
Code Formating breaks the code
Author Message
lodmit



Joined: 25 Aug 2008
Posts: 4
Country: United States

Post Code Formating breaks the code Reply with quote
When I format this code:

IF @operation_result_code = 0 AND @error_code = 0
BEGIN
EXEC @operation_result_code = SPName
@user_id = @user_id,
@entity_id = @entity_id

SET @error_code = @@ERROR

END


my result is

IF @operation_result_code = 0
AND @error_code = 0
BEGIN
EXEC
@operation_result_code = SPName
@user_id =
@user_id,
@entity_id =
@entity_id

SET
@error_code =
@
@ERROR
END
Mon Aug 25, 2008 3:43 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6485

Post Reply with quote
Please increase the value of "Line Length for Code Wrapping" configuration parameter for T-SQL formatting style, for example, set it to 120
Mon Aug 25, 2008 4:30 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.