Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

return Table through Function

462393Mar 5 2007 — edited Mar 5 2007
hi,

I tried to write one function to return Table. I wrote:

Create Or Replace Function fn_Data(strData VarChar2(500))
Return Table tb_Data(Field_1 VarChar(50))
Is
...
...
...
End

Can anybody tell me whats wrong with this syntax? or how to return table using Function? I have Oracle9i installed on my machine.

thanks in advance,

Mahesh
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 2 2007
Added on Mar 5 2007
15 comments
571 views