我在PL-SQL中使用这种语法,但它不是work.hints' SQL命令未正确结束。'
UPDATE product.up_item_shelf a
SET a.del_flag=b.del_falg,a.eff_date=b.eff_date,a.exp_date=b.exp_date
FROM product.up_item_shelf
a JOIN product.up_item_shelf b
ON substr(a.shelf_id,5,8)=substr(b.shelf_id,5,8)
AND a.product_item_id=b.product_item_id AND b.channel_id=6 AND a.channel_id=39