SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Code Formatting

 
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant View previous topic
View next topic
Code Formatting
Author Message
nlhudson



Joined: 06 Aug 2008
Posts: 1
Country: United States

Post Code Formatting Reply with quote
I've been trying to create a code format that allows me to have columns list on the same line, wrap when they get to the end of the line, and then indent on the next line. However, I'm not getting what I want.

This is what I want:

Code:
SELECT t.c1, t.c2, t.c3,
       t.c4, t.c5
FROM   t



This is what I getting, but I do NOT want:
Code:
SELECT t.c1, t.c2, t.c3,
t.c4, t.c5
FROM   t

Wed Aug 06, 2008 12:04 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7838

Post Reply with quote
It cannot be done that way, but you can have all columns on the same line if you change them in the format pattern to a single line and increase "line length for code wrapping" parameter to some fairly large number.
Wed Aug 06, 2008 12:44 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.