Update rows in DB2 using another table -


i update table join. query

update  xctlg_entry_opertnl_cmpgn_calndr  inner  join catentry on catentry.catentry_id = xctlg_entry_opertnl_cmpgn_calndr.catentry_id set  xctlg_entry_opertnl_cmpgn_calndr.moc_out_ind = 'n',         xctlg_entry_opertnl_cmpgn_calndr.last_updt_user_id = 'rodmarco',         xctlg_entry_opertnl_cmpgn_calndr.last_updt_ts = to_date('2016-01-13 00:00:00.000000','yyyy-mm-dd hh:mm:ss.ssssss') rtrim(ltrim(catentry.catenttype_id)) = 'productbean'             , catentry.partnumber = 10195     , xctlg_entry_opertnl_cmpgn_calndr.cmpgn_yr_nr = 2016     , xctlg_entry_opertnl_cmpgn_calndr.cmpgn_nr = 18 

the error got

error code -104, sql state 42601: db2 sql error: sqlcode=-104, sqlstate=42601, sqlerrmc=join;;from, driver=4.16.53


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -