views:

12

answers:

2

Is there a way I can automatically change a string to the upper version.

For example:

select * from table

would be:

SELECT * FROM table

After selecting both select and table and applying such a function. Typically I create the sql in a web editor, then copy paste it into my code, but have to format it a bit.

A: 

I use general settings : Control Shift U ? It's under Edit | Advanced

Preet Sangha
yep, thats it, thanks
jonynz
@jonynz: If this answered your question, can you click the tick associated with this? This will mark this as the accepted answer :)
Alastair Pitts
was trying to, but it said i have to wait 37 seconds :( will do shortly
jonynz
A: 

You might also want to into the "SQL Refactor" product offered by Red-Gate. The product will automatically layout and format your SQL queries.

Kane
won't help as I'm using postgresql through phppgadmin, thanks for the comment regardless
jonynz