開源俱樂部

          開源框架

          Oracle PL/SQL 存儲過程一般寫法

          Posted on 2007-06-29 14:49 HandSoft 閱讀(3946) 評論(0)  編輯  收藏

          procedure

          begin
            BEGIN   
              SELECT attribute5
                     INTO l_list_name
              FROM   qp_list_headers_all
              WHERE list_header_id = p_list_header_id ;
            exception
              when others then
                raise targetListNameError;
            end;
          exception

              WHEN targetListNameError THEN
                -- fnd_file.put_line(fnd_file.output , rpad(upload_list.item_number,20,' ')
                --                                      ||'Start date should later than the current latest effective start data of the target price list.');      --此信息輸出到EBS平臺中View Output中。fnd_file.log:  輸出到Log中
                dbms_output.put_line('Target List is Null!');            --注意: 此信息用于輸出到PL/SQL Developer控制臺中。
          END;


          只有注冊用戶登錄后才能發(fā)表評論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 长治市| 杭锦后旗| 蓝山县| 罗田县| 元氏县| 阳曲县| 含山县| 额济纳旗| 襄汾县| 平乡县| 房产| 雷州市| 文山县| 句容市| 弥渡县| 桐柏县| 循化| 呼伦贝尔市| 佳木斯市| 兴安县| 井陉县| 颍上县| 石棉县| 阜城县| 嵊州市| 蕲春县| 宁乡县| 张掖市| 工布江达县| 安国市| 墨江| 大兴区| 乌恰县| 酒泉市| 隆子县| 黔江区| 淮南市| 柏乡县| 松滋市| 喀喇| 大足县|