tags:

views:

315

answers:

1

Working on some legacy software that is kind of wobbly, found a quick way (hopefully) to stabilize it but need to run some queries on the tables to make some columns entirely UPPER CASE. Any ideas?

+11  A: 

Permanent:

UPDATE
  MyTable
SET
  MyColumn = UPPER(MyColumn)

Temporary:

SELECT
  UPPER(MyColumn) AS MyColumn
FROM
  MyTable
Tomalak
+1 Your doing a much better job on these SQL questions than me :)
Dead account
But you get a badge for deleting an answer with 3 upvotes. :-)
Tomalak
the temporary one is not working
shogun
In what way is it not working?
Tomalak
nevermind I typoed my table name ;)
shogun