dbTalk Databases Forums  

Re: problem on ASA9 when modifying a procedure called by another

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss Re: problem on ASA9 when modifying a procedure called by another in the sybase.public.sqlanywhere.general forum.



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

Default Re: problem on ASA9 when modifying a procedure called by another - 10-08-2009 , 09:54 AM






If you were using version 11, you could use:
alter procedure procedure1 recompile
Unfortunately, this statement is not available in version 9. sa_flush_cache will
have no effect.

SQL Anywhere Developer Community:
http://www.sybase.com/developer/libr...ere-techcorner


SQL Anywhere Blog Center: http://www.sybase.com/sqlanyblogs




ps wrote:
Quote:
Hi
Using ASA 9.0.2; we have the following
procedure1 calls procedure2. Both of then are NON DETERMINISTIC.
If I change the content of procedure2, procedure1 seems to keep the
result of the old version of procedure1. So when I change
We tried sa_flush_cache(), but it does not work for this.
Is there a way to regenerate ALL stored procedures? Or to reset the
cache ? At the moment, I have to add speces to all calling procedures to
have a consistent result.
PS : if the DB content changes ( affecting procedure 2), then procedure
1 works correctly immediately.

Thanks

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.