oracle基礎-pl/sql的光標

光標的概念 result set ---->結果集 在pl/sql中使用光標表明一個’集合’; 定義: cursor 光標名 [(參數名 數據類型)] eg:web cursor c1 is select name from test; 定義了一個光標c1,該內容是全部名稱name的集合 光標取值 %found 是光標取到值爲真 %notfound 是光標沒有取到值時爲真sql /* 光標屬性
相關文章
相關標籤/搜索