首页 > 其他 > 详细

存储过程变量类型定义与表字段一致

时间:2015-07-21 12:16:26      阅读:202      评论:0      收藏:0      [点我收藏+]
create or replace procedure pro_getchart(chart_id   in number,
                                         start_time in varchar2,

                                         end_time   in varchar2) is
  temp_id dic_chart.chart_id%TYPE;
begin

  select t.chart_id into temp_id  from dic_chart t where t.chart_id =  chart_id;
   
end pro_getchart;

 

存储过程变量类型定义与表字段一致

原文:http://www.cnblogs.com/stono/p/4663906.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!