Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Help Me~.
This Script is execute in PL/SQL
/*
select x.emp_id, x.name_k, o.orga_name_k, p.posi_g_name,
x.branch_posi_day, x.last_promotion_day , promot.app_sday app_sday ,
move.app_sday app_sday2, o.seq_code
from hr_hiba_t x, ho_orga_t o, hr_pogr_t p,
app_sday < '19980901'
group by emp_id ) promot,
app_code in ( '102','103') or ( app_code in ('202','204') and orga_code > '0' and orga_code <> src_orga_code and app_name_code in ( '10' ,'19') ) ) and app_sday < '19980901' group by emp_id ) move where x.emp_id = promot.emp_id (+) and x.emp_id = move.emp_id (+) and x.state_classify > 'N0' and x.src_orga_code = o.orga_code and x.src_posi_g_code = p.posi_g_code and move.app_sday > '0' ;
BUT Below Script is not execute and issue Oracle Error
/*
declare
cursor c1 is
select x.emp_id, x.name_k, o.orga_name_k, p.posi_g_name,
x.branch_posi_day, x.last_promotion_day , promot.app_sday app_sday ,
move.app_sday app_sday2, o.seq_code
from hr_hiba_t x, ho_orga_t o, hr_pogr_t p,
app_sday < '19980901'
group by emp_id ) promot,
app_code in ( '102','103') or ( app_code in ('202','204') and orga_code > '0' and orga_code <> src_orga_code and app_name_code in ( '10' ,'19') ) ) and app_sday < '19980901' group by emp_id ) move where x.emp_id = promot.emp_id (+) and x.emp_id = move.emp_id (+) and x.state_classify > 'N0' and x.src_orga_code = o.orga_code and x.src_posi_g_code = p.posi_g_code and move.app_sday > '0' ;
update hr_hiba_t set branch_posi_day = c1r.app_sday2 where emp_id = c1r.emp_id ;
Error Message
ORA-01410: invalid ROWID ORA-06512: at line 3 ORA-06512: at line 28
I want to Know the error and I'm Urgent..
Our System : Oracle 7.3,
Sun System
MiddleWare : SQL*Net
Please Send me a e-mail
<Mailto:topgun_at_freeway.co.kr >
Thanks in Advanece. Sincerely.Received on Thu Sep 03 1998 - 01:29:50 CDT
![]() |
![]() |