» Quick Links
You can make money on these forums
We Share profits with you
Google
Google Adsense
Google Adwords
YPN
Yahoo
MSN Search
Web Directories
Web Hosting
Web Hosting Offers
Hosting News
Suggestions
Link Building
Domain Names
PHP Forums
MySQL Forums
» More Links
OSP News
Reseller Hosting
Shared Hosting
Dedicated Servers
Google Adsense
Search Engine Marketing
Link Development
Affiliate Marketing


» Advertising
Multiple DC PR Check

Free SEO Tools


Go Back   Webmaster Forums > Website Developement / Programming > MySQL Forums

MySQL Forums Share Your Ideas and Tips about MYSQL. Ask questions about MYSQL. Table Design and Much More...

Reply
 
Thread Tools Display Modes
  #1  
Old 08-25-2006, 03:12 PM
richardson richardson is offline
OSP Starters
 
Join Date: Aug 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
richardson is on a distinguished road
Exclamation UCASE not working on VARBINARY

Hi there,

I have to change some rows to be uppercase. I recently changed the column I'm trying to work with to VARBINARY because I'll need to support case sensitivity soon. Before I do that I need to make everything currently in this column uppercase, so:

Code

SELECT UPPER(patientID) AS pID FROM prescriptions WHERE something...gives me the expected results, but not in uppercase!

How to do it?
Any ideas? -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Revenue Sharing Ads ( ?):
  #2  
Old 08-25-2006, 03:14 PM
vikasrocks vikasrocks is offline
OSP Addicts
 
Join Date: Apr 2006
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 21
vikasrocks is on a distinguished road
Default

Case folding is not applicable to binary data. That statement should cause an error saying that the argument has an invalid data type.

You should use a character type and specify a case sensitive collation. -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Reply


Thread Tools
Display Modes

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
view editor not working well? Isoren MySQL Forums 0 11-07-2006 04:45 AM
Working on internet, Work at home moms, Intresting !! alex General Talk 14 11-01-2006 02:58 AM
What did i forget? why the hell is it not working ? parjapat PHP Programming and Tips 1 09-12-2006 12:21 PM
working with Dates gazelle ASP forums and Tips 2 08-26-2006 02:48 PM
SurfControl Joins Anti-Phishing Working Group outsourcingplans Web Hosting News 0 11-25-2005 03:00 PM


All times are GMT. The time now is 11:39 AM.