SunQuest
 
           MySQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMySQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old March 14th, 2005, 04:41 AM
mricketts mricketts is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 3 mricketts User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 58 m 46 sec
Reputation Power: 0
Convert to uppercase

I have a database with 50 tables that contains around 3,000 fields.

I need to convert all the data from all the fields into all uppercase.

Is this possible?

Reply With Quote
  #2  
Old March 14th, 2005, 09:37 AM
Madpawn Madpawn is offline
My beat is correct.
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 339 Madpawn User rank is Private First Class (20 - 50 Reputation Level)Madpawn User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 2 Days 22 h 3 m 33 sec
Reputation Power: 4
The UPPER() function will capitalize all letters in a field.

Reply With Quote
  #3  
Old April 1st, 2005, 05:33 AM
tak2kuldeep tak2kuldeep is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Location: mumbai -india
Posts: 6 tak2kuldeep User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 38 m 19 sec
Reputation Power: 0
Send a message via Yahoo to tak2kuldeep
Thumbs up i don't think....

i do not think this would be possible ..
as the upper() function makes the respective field-contents to be of the uppercase.

such function could be an issue for further development in the MySql rdbms

Reply With Quote
  #4  
Old April 1st, 2005, 08:11 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
I can't see there being enough demand for this type of process to build it into MySQL itself...
I would suggest writing a simple script/program to grab all the data from each table, convert it to uppercase, and update the data...
It not be the most efficient process, but I hope it isn't being done too often.

Reply With Quote
  #5  
Old April 1st, 2005, 09:47 AM
Madpawn Madpawn is offline
My beat is correct.
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 339 Madpawn User rank is Private First Class (20 - 50 Reputation Level)Madpawn User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 2 Days 22 h 3 m 33 sec
Reputation Power: 4
The point of upper() is that there's no reason for it to be uppercase in your database -- leave it like it is, and use upper() as you query your data out. Formatting of the raw data should be kept to a minimum.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMySQL Development > Convert to uppercase


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway