If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Returning table from a Scalar Function

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-15-05, 02:38
rohithaksha rohithaksha is offline
Registered User
 
Join Date: Aug 2005
Posts: 4
Returning table from a Scalar Function

Hi,

I have three SQL Scalar Functions. All of them return TABLE.
First function returns the table which was returned from second or third function depending on some condition.
Example:

FUN1() - Returns TABLE.
FUN2() - Returns TABLE.

MAIN_FUN() - Invokes both FUN1() and FUN2() and returns one of the TABLE returned by FUN1() and FUN2() depending on some condition.

Can I achieve this in DB2 UDB v 8.2 running on Windows?

Thanks,
Rohit
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On