Link to home
Start Free TrialLog in
Avatar of pp89
pp89

asked on

PLSQL Question

I want do an update on a column(lines table) but the data to be updated exists in two other tables

update lines set a=(select b||'-'||c from hdr, lines where hdr.id=line.id and a is null) where a is null but how to join lines with this select statement,

Thanks
SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial