開源俱樂部

          開源框架
            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;


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


          網站導航:
           
          主站蜘蛛池模板: 西藏| 图木舒克市| 海宁市| 沧源| 孟村| 武邑县| 澄城县| 米脂县| 博兴县| 玉树县| 凤山市| 江都市| 湘潭市| 浦北县| 会泽县| 海丰县| 兴义市| 洪雅县| 内黄县| 兰西县| 通辽市| 府谷县| 宁阳县| 武强县| 临夏市| 招远市| 鹤庆县| 张家港市| 乌拉特中旗| 蛟河市| 比如县| 鸡泽县| 西充县| 乌鲁木齐县| 萍乡市| 信丰县| 雷波县| 宜川县| 塘沽区| 商都县| 柳林县|