With Oracle you use the pipe ||..

update foo
set fooname = fooname || 'Customer'



On 1/20/06, Ken <[EMAIL PROTECTED]> 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:230107
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to