@634

Oracle PL/SQL - TIPS

Advertisement

読み込み行数の制御

rownum

サンプル:10行読み込んで終了。
declare
    cursor cur_sample is
        select name, age
            from database
            where rownum <=10;
begin
    for rec_sample in cur_sample loop
        -- 略
    end loop;
end;

Advertisement

ショートカット

634
634ブログ
このカテゴリのトップページに戻る
Incubator(Pukiwiki)
634ラボ
   UIコレクションギャラリー
   ZO-3ジェネレーター

サイト検索


Y!ログール