dbTalk Databases Forums  

Informix Stored Procedure

comp.databases.informix comp.databases.informix


Discuss Informix Stored Procedure in the comp.databases.informix forum.



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

Default Informix Stored Procedure - 09-12-2003 , 03:13 AM







Hello!

I am using Informix 7 se and having problems with updating the stored
procedure everytime I run it.

Basically, I have made changes to the sql file that drops and create a store
procedure, but it still shows outputs from the old copy of the same stored
procedure. The only way I am able to see changes in the results is by
creating a stored procedure with a different name. I am using DBACCESS to
create and execute my stored procedure.

Pls help.

Thanks,

Ahmer


sending to informix-list

Reply With Quote
  #2  
Old   
Mark D. Stock
 
Posts: n/a

Default Re: Informix Stored Procedure - 09-12-2003 , 06:05 AM







Ahmer Sajjad wrote:

Quote:
Hello!

I am using Informix 7 se and having problems with updating the stored
procedure everytime I run it.

Basically, I have made changes to the sql file that drops and create a store
procedure, but it still shows outputs from the old copy of the same stored
procedure. The only way I am able to see changes in the results is by
creating a stored procedure with a different name. I am using DBACCESS to
create and execute my stored procedure.
Have you updated statistics for the procedure after recreating it?

Cheers,
--
Mark.

+----------------------------------------------------------+-----------+
Quote:
Mark D. Stock mailto:mdstock (AT) MydasSolutions (DOT) com |//////// /|
Mydas Solutions Ltd http://MydasSolutions.com |///// / //|
+-----------------------------------+//// / ///|
|We value your comments, which have |/// / ////|
|been recorded and automatically |// / /////|
|emailed back to us for our records.|/ ////////|
+----------------------+-----------------------------------+-----------+

sending to informix-list


Reply With Quote
  #3  
Old   
Nebojsa Sevo
 
Posts: n/a

Default Re: Informix Stored Procedure - 09-12-2003 , 10:13 AM



On Fri, 12 Sep 2003 16:13:52 +0800, "Ahmer Sajjad" <ahmer (AT) conceptfert (DOT) com.au>
wrote:

Quote:
Hello!

I am using Informix 7 se and having problems with updating the stored
procedure everytime I run it.

Basically, I have made changes to the sql file that drops and create a store
procedure, but it still shows outputs from the old copy of the same stored
procedure. The only way I am able to see changes in the results is by
creating a stored procedure with a different name. I am using DBACCESS to
create and execute my stored procedure.
I think that you have to close database after makeing changes to SP and open DB
again.

nebojsa
------------------------------------
Remove spam block (DELETE_) to reply


Reply With Quote
  #4  
Old   
Diego Morales
 
Posts: n/a

Default RE: Informix Stored Procedure - 09-12-2003 , 11:37 AM





update statistics ???

-----Mensaje original-----
De: owner-informix-list (AT) iiug (DOT) org [mailtowner-informix-list (AT) iiug (DOT) org]En
nombre de Nebojsa Sevo
Enviado el: viernes 12 de septiembre de 2003 17:13
Para: informix-list (AT) iiug (DOT) org
Asunto: Re: Informix Stored Procedure


On Fri, 12 Sep 2003 16:13:52 +0800, "Ahmer Sajjad"
<ahmer (AT) conceptfert (DOT) com.au>
wrote:

Quote:
Hello!

I am using Informix 7 se and having problems with updating the stored
procedure everytime I run it.

Basically, I have made changes to the sql file that drops and create a
store
procedure, but it still shows outputs from the old copy of the same stored
procedure. The only way I am able to see changes in the results is by
creating a stored procedure with a different name. I am using DBACCESS to
create and execute my stored procedure.
I think that you have to close database after makeing changes to SP and open
DB
again.

nebojsa
------------------------------------
Remove spam block (DELETE_) to reply

sending to informix-list


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.