码迷,mamicode.com
首页 > 数据库 > 详细

oracle调用array参数存储过程

时间:2015-06-19 13:15:37      阅读:141      评论:0      收藏:0      [点我收藏+]

标签:

declare
  -- Non-scalar parameters require additional processing 
  
   files  tyt_gas2014_search;
   
   temp  tyo_gas2014_search:=tyo_gas2014_search(CREATOR,1,test,1);
   temp1 tyo_gas2014_search:=tyo_gas2014_search(CREATETIME,4,2015/4/17 0:00:00,3);
   temp2 tyo_gas2014_search:=tyo_gas2014_search(CREATETIME,3,2015/6/18 0:00:00,3);
   
 
begin
 
  -- Call the procedure
 
   files := tyt_gas2014_search(); 
   files.extend(3); 
   
   files(1):= temp;
   files(2):= temp1;
   files(3):= temp2;
 
  pkg_gas2014_pagehelp.p_gas2014_gettablepagewhere(files => files,
                                                   sqlwhere => :sqlwhere);
end;

 

oracle调用array参数存储过程

标签:

原文地址:http://www.cnblogs.com/qtchao520/p/4588158.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!