April 14, 2004 at 6:42 am
Does anyone know a way to change all columns and table names to upper case?
April 14, 2004 at 2:46 pm
I can think of a few of approaches here. Someone else may be able to offer different input.
Regardless of how you do it keep in mind this may effect stored procs, keys, etc.
"Keep Your Stick On the Ice" ..Red Green
April 14, 2004 at 3:20 pm
Why do you need to do that??
April 15, 2004 at 12:54 am
SELECT LOUD_COLUMN1, LOUD_COLUMN2, LOUD_COLUMN3
FROM LOUD_TABLE
WHERE LOUD_COLUMN1 = "SOME LOUD DATA"
Don't you think this is how code was written, say 20 years ago? And beside lower visual functionality, it's just plain ugly.
PS: No offence intended, just my personal opinion.
April 15, 2004 at 5:50 am
The easier way is to run the update statement against syscolumns table.
select 'update syscolumns set name = upper(name) where object_name(id) like ' + '''' + name + ''''
from sysobjects
where type='U'
order by name
go
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply