Bob Hall writes:
>>What I want to do is something like this...a set variable in a table
>>has a current value of "a,b,c" and I want to add the value "d" to it
>>so the new value is now "a,b,c,d". The type is already defined as
>>setval SET ('a', 'b', 'c', 'd', 'e', 'f')
>Ma'am, by variable, do you mean a column in a row? Try
> UPDATE table_name SET column_name = Concat(column_name, ",d") WHERE ...
This worked perfectly, thanks!
--Cindy
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php