DECLARE
v_stability_test_id NUMBER:= 100162;
v_stability_test_list_id NUMBER := 0;
v_testcontrol_id NUMBER := 0 ;
v_stability_test_list_ord NVARCHAR2(50):='0';
v_seq_month NVARCHAR2(50) :='개시일';
v_request_date NVARCHAR2(50):='2011-03-07';
iv_temp NUMBER(1, 0) := 0;
BEGIN
SELECT count(stability_test_id)
INTO iv_temp
FROM stability_test_list
WHERE stability_test_id = v_stability_test_id
AND stability_test_list_id = v_stability_test_list_id;
DBMS_OUTPUT.Put_Line( iv_temp);
END;
IF (0 = 0) THEN
DBMS_OUTPUT.Put_Line( '설마');
END IF;
테스트를 위해 위와같이 쿼리문을 에디터로 실행햇는데
IF문 쪽에서 오류가 나네요 이유를 모르겟습니다 ㅠㅠ