views:

214

answers:

1

How can I view the results returned by a pipelined function in Oracle SQL Developer ?

I'm invoking the function using a simple select..from dual like

select piaa_extract.FN_PIAA_EXTRACT('01-JAN-00','01-JAN-12') FROM DUAL

and the result I get is

IQCFINAL.REC_PIAA(IQCFINAL.REC_PIAA,IQCFINAL.REC_PIAA,.....,IQCFINAL.REC_PIAA)

Allround Automations' PL/SQL developer displays the results beautifully in a tabular format, but I do not have a license for the full version of PL/SQL developer.

SQL*Plus' output isn't very good either, though better than Oracle SQL Developer's. Any thoughts ?

+3  A: 

Typically, you'd use

select * from table(piaa_extract.FN_PIAA_EXTRACT('01-JAN-00','01-JAN-12'))

Does that work?

Alohci
Indeed it does, thank you very much!
Sathya