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 > Dynamic sql in UDF

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-25-05, 10:21
allian allian is offline
Registered User
 
Join Date: Dec 2004
Posts: 54
Dynamic sql in UDF

Can dynamic sql be used inside the UDF or not? other wise is any way there to implement that?
Can sql procedure be called from inside the UDF, if yes from what version.

Please clarify these doubts.
Reply With Quote
  #2 (permalink)  
Old 01-27-05, 23:59
jacampbell jacampbell is offline
Registered User
 
Join Date: Jan 2005
Posts: 191
Provided the UDF is an external UDF (ie not LANGUAGE SQL) you shouldn't have any problems.

Unless, of course, the version of DB2 you are running doesn't support it - for example the unsupported DB2 UDB ULWO V7. But you omitted that piece of information.

James Campbell
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