在sqlplus中呼叫編寫的refcursor 遊標型別的儲存過程

wisdomone1發表於2010-06-29
SQL> var x refcursor
SQL> exec pkg_e_teacherlogininfo.p_veriry_teacher_login('1','1',:x);
PL/SQL procedure successfully completed.
SQL> print :x
LOGINID          TEACHERID        LOGINNAME
---------------- ---------------- --------------------
NICKNAME
--------------------------------------------------------------------------------
PASSWORD             I LOGINSTATUS      CREATETIM LATESTLOG LATESTMOD FAILEDTIM
-------------------- - ---------------- --------- --------- --------- ---------
FAILEDIP
--------------------------------------------------------------------------------
LATESTLOGINIP
--------------------------------------------------------------------------------
LATESTLOGINAREA
--------------------------------------------------------------------------------
MEMO
--------------------------------------------------------------------------------
30                                1

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9240380/viewspace-666594/,如需轉載,請註明出處,否則將追究法律責任。

相關文章