Thread: Indenting SQL
View Single Post
Old 02-29-2008, 11:22 PM   #8 (permalink)
wGEric
The Acquainted
 
wGEric's Avatar
 
Join Date: Nov 2007
Posts: 166
Thanks: 0
wGEric is on a distinguished road
Default

Here's how I do it.

sql Code:
SELECT col1, col2
    FROM TABLE
    WHERE col = 1
        AND col2 = 'foo'
    ORDER BY col3 ASC
    LIMIT 20
__________________
Eric
wGEric is offline  
Reply With Quote