I'm looking for an SQL solution to put the text of one columns in all caps, i.e. "Text" becomes "TEXT". I had expected results with the UPPER command as follows:
UPDATE MyTable
SET MyCol = UPPER(MyCol)
Problem is, although the query seems to execute correctly, it didn't actually change anything. "Text" remained "Text".
What did I do wrong here? Should I use a different command entirely? In case it makes a difference, this is in SQL Server 7 (so a T-SQL solution suits me just as well).
Thanks in advance!
"Much that I bound, I could not free. Much that I freed returned to me."
(Lee Wilson Dodd)
UPDATE MyTable
SET MyCol = UPPER(MyCol)
Problem is, although the query seems to execute correctly, it didn't actually change anything. "Text" remained "Text".
What did I do wrong here? Should I use a different command entirely? In case it makes a difference, this is in SQL Server 7 (so a T-SQL solution suits me just as well).
Thanks in advance!
"Much that I bound, I could not free. Much that I freed returned to me."
(Lee Wilson Dodd)