where current of 썸네일형 리스트형 #10_140627_PL_SQL_WHERE CURRENT OF # WHERE CURRENT OFl where current of emp_cursor;내가 방금 fetch 해온 그 행을 가리킨다l 실행절에서 where current of 절을 사용하려면 커서 선언시 for update 절을 사용해야 한다l select … for update 를 하면서 select 해오는 테이블의 그 행에 lock이 걸림declarecursor emp_cursor isselect ename, rank() over(order by sal desc) as "순위"from empfor update; update empset rnk=emp_record.순위where current of emp_cursor l 수행한 후에 commit; 을 해줘야 한다 문제76. where current of .. 더보기 이전 1 다음