開源俱樂部

          開源框架
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

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

          Posted on 2007-06-29 14:49 HandSoft 閱讀(3952) 評論(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;


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


          網站導航:
           
          主站蜘蛛池模板: 遂平县| 平乐县| 通河县| 大渡口区| 霸州市| 广元市| 鱼台县| 宁波市| 天津市| 阜阳市| 信阳市| 梅州市| 大关县| 久治县| 黎平县| 桂平市| 江山市| 上虞市| 乌拉特中旗| 湘西| 黎平县| 庐江县| 聂荣县| 马鞍山市| 鄂尔多斯市| 噶尔县| 龙江县| 璧山县| 秦安县| 荔浦县| 前郭尔| 上饶市| 堆龙德庆县| 穆棱市| 常山县| 泰兴市| 山东省| 砀山县| 中阳县| 义乌市| 阿鲁科尔沁旗|