dbTalk Databases Forums  

unable to drop a Stored Procedure

comp.databases.ibm-db2 comp.databases.ibm-db2


Discuss unable to drop a Stored Procedure in the comp.databases.ibm-db2 forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
DT
 
Posts: n/a

Default unable to drop a Stored Procedure - 08-18-2003 , 09:43 AM






Hello,

We are having problems trying to drop a SP. When I try to drop it via
the java based CC, it all looks OK, but a refresh still shows it is
there. There is nothing in the error - log.

Could some one inform me the coorect SQL syntax on how to drop a
Stored Procedure please.

db2 v.8
aix 5.2

thanks
DT

Reply With Quote
  #2  
Old   
Sean McKeough
 
Posts: n/a

Default Re: unable to drop a Stored Procedure - 08-19-2003 , 07:59 AM






It's "db2 drop procedure <procname>".

When you say it's 'still there' do you mean you're still picking up an
old class/library? Classes and libraries are cached until 'certain'
points in time. The only way to be sure of flushing all old classes/libs
is to recycle db2. You can look in the catalogs (sysibm.sysroutines) to
see if your stored proc is still in existance on the database.

DT wrote:
Quote:
Hello,

We are having problems trying to drop a SP. When I try to drop it via
the java based CC, it all looks OK, but a refresh still shows it is
there. There is nothing in the error - log.

Could some one inform me the coorect SQL syntax on how to drop a
Stored Procedure please.

db2 v.8
aix 5.2

thanks
DT


Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.