oracle函数返回结果集
参考资料
http://blog.csdn.net/feiliu010/article/details/1538822
?
http://database.51cto.com/art/201004/194462.htm
?
http://www.cnblogs.com/JavaCharp/archive/2010/03/26/1697266.html
?
http://log-cd.iteye.com/blog/411123
?
基本上是用的都是管道,实际上也可以返回一个table的类型
create or replace type t_table is table of N_H_table
?
create or replace function getRow(tablename in varchar,
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? devid in varchar,
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? curdate in varchar ?--yyyy-mm-dd
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ) return t_table as
?
不知道和管道比效率如何