Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA 01407 - cannot update column to null

user5716448May 28 2014 — edited May 28 2014

Hi,

Getting above error when try and update table to value note the tables updateing from do not have null value.

Finding haveing to put extra condition in the outer query to run this.

Oracle 11.2.0.3

update cas_agent_net_sales b

set b.net_issue_ean = (

-- Purpose to reset the ean to one should eb as above

select nvl(p.new_bris_ean_to_use,p.net_issue_ean)

fromĀ  por_fix_cans_temp_280514_york p

where p.net_agent_account_number = b.net_agent_account_number

and p.net_issue_ean = b.net_issue_ean

and p.net_issue_year = b.net_issue_year)

where b.net_title_code = 4181

Why is this nrecessary?

Thanks

This post has been answered by Karthick2003 on May 28 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 25 2014
Added on May 28 2014
5 comments
4,732 views