RE: Field property question!

2005-05-11 Thread Jay Blanchard
[snip] Yes I do enjoy every day in which the manual makes my life easier. I guess I didn't work my question specifically enough however. I was actually looking for a way to 'ALTER' the table so that my State field data is always upper. In MSSQL you can apply a function to a field, which will then r

RE: Field property question!

2005-05-11 Thread Matt Babineau
ay 10, 2005 10:58 AM To: Matt Babineau; mysql@lists.mysql.com Subject: RE: Field property question! [snip] Can I setup a table so that no matter how data is entered into it (web form, command line) The data in one of the columns ALWAYS gets converted to uppercase? I remeber MSSQL had this feature of

RE: Field property question!

2005-05-10 Thread Jay Blanchard
[snip] I think matt is thinking more automagically like having upper() called on a column on insert for him instead of putting it into every query. You can't do this yet. sorry. [/snip] Aha, I see. Needs a trigger or stored procedure. -- MySQL General Mailing List For list archives: http://list

Re: Field property question!

2005-05-10 Thread Eric Bergen
I think matt is thinking more automagically like having upper() called on a column on insert for him instead of putting it into every query. You can't do this yet. sorry. -Eric Jay Blanchard wrote: [snip] Can I setup a table so that no matter how data is entered into it (web form, command line)

RE: Field property question!

2005-05-10 Thread Jay Blanchard
[snip] Can I setup a table so that no matter how data is entered into it (web form, command line) The data in one of the columns ALWAYS gets converted to uppercase? I remeber MSSQL had this feature of being able to apply a function to a field in its configuration. [/snip] The manual, it is amazing