create or replace procedure TEST is
       user_id       VARCHAR2(10); 
       cursor arr_content is select web_id from tcustomer
                          where web_id = '用户名';
begin
     OPEN arr_content;  
           LOOP
              DBMS_OUTPUT.PUT_LINE(SQLCODE);   -->返回记录数
           FETCH arr_content INTO user_id;                    
              EXIT WHEN arr_content%NOTFOUND;                 
           END LOOP;
     CLOSE arr_content;      
           
end TEST;不管 用户名有没有,怎么结果都是0 ,而不是非0