開源俱樂部

          開源框架

          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)航:
           
          主站蜘蛛池模板: 绍兴市| 江北区| 四子王旗| 静安区| 临洮县| 张北县| 将乐县| 虎林市| 武乡县| 绥中县| 西平县| 萝北县| 石河子市| 尼玛县| 汝阳县| 邳州市| 和田县| 江门市| 偏关县| 荣昌县| 乌兰察布市| 安丘市| 乌恰县| 安庆市| 富宁县| 固安县| 孟津县| 百色市| 沁水县| 云和县| 澄迈县| 永平县| 莫力| 军事| 乌拉特中旗| 葫芦岛市| 齐齐哈尔市| 克山县| 嘉荫县| 乌什县| 东兴市|