PLSQL遊標

顯示遊標格式: 定義遊標 CURSOR cursor_name IS select_SQL; 2. 打開遊標 OPEN cursor_name; 3. 提取數據 FETCH cursor_name INTO variable1,variable2,…; 當運行fetch後,遊標纔開始工作,記錄當前行,有數據則下移,然後置%FOUND,%NOTFOUND的值 關閉遊標 CLOSE cursor_na
相關文章
相關標籤/搜索