Sql错误ORA-01791:不是SELECTed表达式

时间:2014-10-23 21:04:38

标签: sql oracle

我在尝试从sql developer运行查询时遇到以下错误。你能告诉我这里有什么不妥吗?

ORA-01791: not a SELECTed expression
ORA-06512: at "GLOBALS.search", line 807
ORA-06512: at line 1
01791. 00000 -  "not a SELECTed expression"
*Cause:    
*Action:

函数调用

select pkgproduct.search('00000000000000000000ffff01010101',null,null,null,0,200)
from dual;

签名:

FUNCTION search(p_search_for        VARCHAR2             DEFAULT NULL
       ,p_prod_ids        idlist               DEFAULT NULL
        ,p_manufacturer_ids      idlist               DEFAULT NULL
        ,p_id_external       CHAR                 DEFAULT NULL
        ,p_skip              NUMBER               DEFAULT 1
        ,p_count             NUMBER               DEFAULT 10) RETURN t_cursor;

0 个答案:

没有答案