[英]Format data from a table into another formatted table using Oracle SQL
[英]Oracle SQL : Querying data using Table Function passing rows from another table
我有一个表函数,它接受参数并通过管道将行返回。
get_cnt_info(param1, param2, param3)
我需要将物理表中的数据作为参数传递给该函数。
select name, address, agefrom tblPerson;
我需要做的是在SQL,我已经试过类似下面,但不工作。
select d.*, (select cnt
from table(get_cnt_info(d.name, d.address, d.age)))
cnt from tblPerson d;
关于我该怎么做的任何想法? 请帮忙。
先感谢您!
流水线函数在执行时是否成功运行,例如SELECT get_cnt_info(param1,param2,param3)FROM DUAL?
您收到什么错误消息?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.