网上找的

createorreplaceprocedure Query_By_Key
(
p_key1 invarchar2,
p_key2
invarchar2,
p_cursor out
JN_TABLE.JN_CTable
)*
is
str_Sql  varchar2(500):=' select * from
TableA'|| 
                        ' where    pname like :v_key1   and pname
like :v_key2 ' ;
begin
         open p_cursor for str_Sql using  '%'||
p_key1||'%' , '%'|| p_key2||'%';
end   Query_By_Key;

引用原文:

http://www.cnblogs.com/luoht/archive/2010/04/30/1725400.html

http://www.oracle.com.cn/viewthread.php?tid=35796

 

 

相关文章:

  • 2021-12-26
  • 2021-10-27
  • 2021-05-08
  • 2022-01-01
  • 2022-12-23
  • 2022-01-23
  • 2022-02-17
  • 2021-12-19
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案