Too_many_rows Exception


Select 문의 결과가 하나만 있고 이것이 하나의 변수에 할당되어야 하는 것이 암시적 커서의 기본조건이다.

따라서 PL/SQL에서 대충 여러개의 row를 하나의 변수 받으려고 하지 않았는지 확인해 보세요~



오류 보고:

ORA-01422: 실제 인출은 요구된 것보다 많은 수의 행을 추출합니다

ORA-06512:  6행

01422. 00000 -  "exact fetch returns more than requested number of rows"

*Cause:    The number specified in exact fetch is less than the rows returned.

*Action:   Rewrite the query or change number of rows requested

+ Recent posts