dbTalk Databases Forums  

E_US1265 Database reorganization error

comp.databases.ingres comp.databases.ingres


Discuss E_US1265 Database reorganization error in the comp.databases.ingres forum.



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

Default E_US1265 Database reorganization error - 09-07-2010 , 12:39 AM






I've been maintaining an ABF's frame's source code and I get a
"E_US1265 Database reorganization activity has rendered the query plan
invalid. Try again after the db activity is complete. In case of
dynamic
SQL, the statement must be prepared again." error when running the
following query (the query interpolates host variables) :

select max(m.d_kinhshs)
from kinas m
where m.am_asqenh = _am_asqenh
and m.c_eid_kin != 'DNSN'
and (
(m.d_kinhshs < _d_syntagh)
or
(m.d_kinhshs <= :l_d_ews and
m.c_eid_kin != 'EXAG' )
)


the part that gives me a hard time is the part between the
parentheses
(
(m.d_kinhshs < _d_syntagh)
or
(m.d_kinhshs <= :l_d_ews and
m.c_eid_kin != 'EXAG' )
)

If I take the two outer parentheses off, then the query runs to
completion but I really do not want to do that since it will change
the precedence of the operators and will get wrong results back.
It probably has to do something with the nesting depth of the WHERE
clause ??

The query runs successfully AS-IS in II 9.2.0 (int.lnx/118)NPTL but it
gives me that error when run under II 9.2.0 (i64.hpu/143) which has
also patch 13830 applied.
Is there an issue after patch 13830 related to this case?

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.