zoukankan      html  css  js  c++  java
  • pl/sql下DBMS_OUTPUT.PUT_LINE的输出位置

    项目里存储过程中用到DBMS_OUTPUT.PUT_LINE进行输出日志,一开始不知道在哪里看,网上很多都是直接运行后的位置。但是储过程中的日志找了好一会,记录一下。

    1、运行时输出位置。

    declare
    
        in_interval_start_id varchar2(40);
    
        in_interval_end_id varchar2(40);
    
        in_orglevelcode varchar2(40);
    
        in_agencyhierarchycodes varchar2(40);
    
        in_accountscope number;
    
        out_data sys_refcursor;
    
    begin
    
      in_interval_start_id:=1541662794967;
    
      in_interval_end_id:=1541662794967;
    
      in_orglevelcode:=00001;
    
      in_agencyhierarchycodes:='';
    
      in_accountscope:=1;
    
      out_data:=null;
    
      rp_fund_plan_summary(in_accountscope,in_interval_end_id,in_orglevelcode,in_agencyhierarchycodes,in_accountscope,out_data);
    
      DBMS_OUTPUT.PUT_LINE('123');
    
    end;

    rp_fund_plan_summary是我的存储过程,括号里的都是我的传入参数。

    输出位置

    2、存储过程中的输出没在上面。下面:

    右键存储过程,选择test;

    日志就在旁边

    又要去做其他的事了。

  • 相关阅读:
    UnityGUI Keynote
    Unity3D Asset 导入&导出
    Unity3d平台信息设置
    Unity3D自带Demo AngryBots路径
    如何判定Unity已破解成功
    fbx模型
    Init & Deinit & ARC
    Subscript & Inheritance
    Properties & Method
    Enumeration & Class & Structure
  • 原文地址:https://www.cnblogs.com/daguozb/p/9946467.html
Copyright © 2011-2022 走看看