Nov 26, 2002 #1 jkscript Programmer Jun 20, 2002 9 GB Hi All, Is it possible to accept a string and make it uppercase before storing it in the database? Can this be done in the CREATE TABLE method? Cheers
Hi All, Is it possible to accept a string and make it uppercase before storing it in the database? Can this be done in the CREATE TABLE method? Cheers
Nov 26, 2002 #2 sleipnir214 Programmer May 6, 2002 15,350 US What you are asking is not a property of a table. "CREATE TABLE" will not do it. When you insert your data, use MySQL's ucase() function: insert into bar (the_data) values (ucase('foo')) ______________________________________________________________________ http://www.tuxedo.org/~esr/faqs/smart-questions.htmlTANSTAAFL! Upvote 0 Downvote
What you are asking is not a property of a table. "CREATE TABLE" will not do it. When you insert your data, use MySQL's ucase() function: insert into bar (the_data) values (ucase('foo')) ______________________________________________________________________ http://www.tuxedo.org/~esr/faqs/smart-questions.htmlTANSTAAFL!