Oracle is not my forte... Anybody see why this should not work.
Trying to add a value converted to text to a existing text field.
update c
set list = list + cast(b.SERVICE_ID as varchar(12))
from md.subscribe_service a
join md.service_menu b
on a.SERVICE_MENU_ID=b.SERVICE_MENU_ID
join mjlist c
on c.CUSTOMER_ID=a.CUSTOMER_ID
where b.SERVICE_ID=103;
ERROR at line 3:
ORA-00933: SQL command not properly ended
Thanks
Simi
Trying to add a value converted to text to a existing text field.
update c
set list = list + cast(b.SERVICE_ID as varchar(12))
from md.subscribe_service a
join md.service_menu b
on a.SERVICE_MENU_ID=b.SERVICE_MENU_ID
join mjlist c
on c.CUSTOMER_ID=a.CUSTOMER_ID
where b.SERVICE_ID=103;
ERROR at line 3:
ORA-00933: SQL command not properly ended
Thanks
Simi