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 > SQL Procedure package

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-23-10, 14:47
redwolf redwolf is offline
Registered User
 
Join Date: Apr 2004
Posts: 179
SQL Procedure package

What is the best way (if there is one) to change bind options for a SQL procedure package ? I have taken a look at SYSPROC.REBIND_ROUTINE_PACKAGE, but it does not accept input like 'QUERYOPT 2' in db2 version 9.5.

Thanks
Reply With Quote
  #2 (permalink)  
Old 04-23-10, 15:31
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
I think you need to do a bind with replace and specify the new/updated options
Reply With Quote
  #3 (permalink)  
Old 04-23-10, 15:40
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
You would have to drop the SQL procedure and recreate it after setting the routine preopts appropriately.

Andy
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