Function with Object return Type

In this forum you can share stuff related to Oracle 11g, 10g, 9i.
Post Reply
Kashif
Posts: 137
Joined: Wed Apr 26, 2006 5:57 am
Location: Pakistan
Contact:

Function with Object return Type

Post by Kashif »

Dear all members.

My requirement is to define a function with return type of any object,
the object can be Composit of to different datatypes

for example if i want to return the values of type Date and number.
Then how can i do this using a SINGLE function.
I think that it can be done by make the return type obejct of that function, but HOW i dont know.

please help me regarding this
admin
Posts: 2062
Joined: Fri Mar 31, 2006 12:59 am
Location: Pakistan
Contact:

Post by admin »

Return as varchar and then convert as per desire. tks
Kashif
Posts: 137
Joined: Wed Apr 26, 2006 5:57 am
Location: Pakistan
Contact:

Post by Kashif »

[quote]Return as varchar and then convert as per desire. tks

<i><div align="right">Originally posted by admin
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests