아래를 실행시키면
General SQL error.
ORA-06550: line 19, column 11:
PLS-00103: Encountered the symbol "" when expecting one fo the following:
:=.(@%;.
이런메시지가 나옵니다..
알려주세요
declare
CURSOR c1 IS
select a.n_p from a_b a
where a.c_acr <= 13
and a.c_acr >= 11 ;
n_c BINARY_INTEGER;
begin
FOR C_REC IN C1 LOOP
n_c := 0 ;
n_c := fn_debt_num(C_REC.n_p);
update a_b_d_2
set c_d = n_c
where n_p = C_REC.n_p ;
commit;
END LOOP;
end;
CURSOR c1 IS (
> select a.n_p from a_b a
> where a.c_acr <= 13
> and a.c_acr >= 11
> )
n_c BINARY_INTEGER;
이렇게 해 보세여...이거 에러코드집을 안봐서 정확한 것은....^^;;
문제 wrote:
> 아래를 실행시키면
> General SQL error.
> ORA-06550: line 19, column 11:
> PLS-00103: Encountered the symbol "" when expecting one fo the following:
> :=.(@%;.
> 이런메시지가 나옵니다..
> 알려주세요
>
> declare
> CURSOR c1 IS
> select a.n_p from a_b a
> where a.c_acr <= 13
> and a.c_acr >= 11 ;
>
> n_c BINARY_INTEGER;
> begin
> FOR C_REC IN C1 LOOP
> n_c := 0 ;
> n_c := fn_debt_num(C_REC.n_p);
> update a_b_d_2
> set c_d = n_c
> where n_p = C_REC.n_p ;
> commit;
> END LOOP;
> end;