'동적쿼리'에 해당되는 글 1건
오라클 동적 쿼리 생성 방안
------------------- 1 번 안 -------------------- 이중 loop를 사용할때 'open curs for 쿼리'를 이용하여 동적쿼리 생성 declare str varchar2(100); col varchar2(200); type my_curs_type is REF CURSOR; -- must be weakly typed curs my_curs_type; cursor A2 is select view_fild_name_1 from SESSION_TABLE where view_fild_name_1 is not null; begin open A2; LOOP fetch A2 into col; exit when A2%NOTFOUND; --dbms_output.put_line('STR ..
DB관련/Oracle | 2021. 1. 24. 17:12
RECENT COMMENT