testing [message #544838] |
Fri, 24 February 2012 03:53 |
|
GoGreen
Messages: 28 Registered: February 2012 Location: Java Island
|
Junior Member |
|
|
declare
data varchar(2);
begin
msg_prc(' thanks guru, i was trying and success ','M');
end;
/
[Updated on: Fri, 24 February 2012 04:00] Report message to a moderator
|
|
|
Re: testing [message #544848 is a reply to message #544838] |
Fri, 24 February 2012 04:43 |
|
GoGreen
Messages: 28 Registered: February 2012 Location: Java Island
|
Junior Member |
|
|
declare
rGlCode gl_code_combinations%rowtype;
begin
For rGlCode in (
select /*+ PARALLEL(gl_code_combinations, 3,4) */ * from gl_code_combinations gcc
where ( gcc.segment1 between substr (P_NatAw,1,3) and substr (P_NatAk,1,3))
and ( gcc.segment2 between substr (P_NatAw,5,3) and substr (P_NatAk,5,3))
and ( gcc.segment3 between substr (P_NatAw,9,7) and substr (P_NatAk,9,7))
and ( gcc.segment4 between substr (P_NatAw,17,3) and substr (P_NatAk,17,3))
and ( gcc.segment5 between substr (P_NatAw,21,3) and substr (P_NatAk,21,3)))
Loop
INSERT INTO JR_GL_CODE_COMBINATIONS VALUES rGlCode;
End Loop;
End;
/
[Updated on: Fri, 24 February 2012 04:44] Report message to a moderator
|
|
|
|