I often come across this same thing, but I am using MySQL. Does anyone know how to append a string to a field in MySQL?
Thanks, Aaron On 1/20/06, Ken Ferguson <[EMAIL PROTECTED]> wrote: > In that case, I believe it should work as you posted it. > > --Ferg > > Ken wrote: > > >MS SQL Server 2000... Sorry i should have mentioned before. > > > > > >On 1/20/06, Ken Ferguson <[EMAIL PROTECTED]> wrote: > > > > > >>What database are you using? > >> > >>--Ferg > >> > >>Ken wrote: > >> > >> > >> > >>>Hi. This may be a little elementary, but here it is: > >>> > >>>I want to update a database field so that all values in it are appended > >>> > >>> > >>with > >> > >> > >>>a given string. Something like this: > >>> > >>>UPDATE db_names > >>>SET db_names.lastName = db_names.lastName + 'Customer' > >>> > >>>I know the above query is wrong. Can someone tell me how to do it? > >>> > >>>Thanks, > >>>Ken > >>> > >>> > >>> > >>> > >>> > >> > >> > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230121 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

