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 > Chanfing the SP

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-28-03, 13:27
jfkuser jfkuser is offline
Registered User
 
Join Date: Mar 2003
Posts: 59
Chanfing the SP

Hi,

I have modified a Stored procedure for UDB 7.2 on AIX.
How do I implement the modified SP in the database.

Is the Drop proc / Create proc enough OR Alter PROC is good option.
Also do I need to do anything else than this in order to call this proc from application codes?

Also how do I test the proc using just the command line tools?


Thanks in advance
j
Reply With Quote
  #2 (permalink)  
Old 09-28-03, 15:12
dlafreni dlafreni is offline
Registered User
 
Join Date: Jun 2003
Location: Canada
Posts: 35
To change a Stored Proc you need to drop/re-create. To execute a Stored Proc look at the CALL command which look like this:

CALL schema.storedprocname ();

empty () implies their are no variable that are pass.

HTH,

Dany
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