ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » IIB 9 Linux Oracle ODBC ORA-00904 question

Post new topic  Reply to topic
 IIB 9 Linux Oracle ODBC ORA-00904 question « View previous topic :: View next topic » 
Author Message
marko.pitkanen
PostPosted: Mon Jan 12, 2015 6:08 am    Post subject: IIB 9 Linux Oracle ODBC ORA-00904 question Reply with quote

Chevalier

Joined: 23 Jul 2008
Posts: 440
Location: Jamsa, Finland

Hi,

I would like to understand following phenomenon and what can be done / configured to avoid it.
    - IIB 9
    - Linux
    - ODBC
    - Oracle
    - OptimizePrepare=1 in odbc.ini
    - Query on ESQL: (SELECT C FROM Database.xxx AS C WHERE C.yyy = ddd);
    - Column RR removed from table xxx
    - Excetution of the ESQL clause fails after database change with exception: SQL State ''57'' SQL Native Error Code '904' SQL Error Text ''[unixODBC][IBM][ODBC 20101 driver][Oracle]ORA-00904: "C"."RR": invalid identifier''
    - After mqsireload ESQL excetues again


Hypothesis:
Oracle driver creates prepared statement / procedure which is renewed only when clause is executed first time after deploy / reload.

--
Marko
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Mon Jan 12, 2015 6:18 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Have you considered optimizing the query to only include the columns you need to get, rather than all available columns?

It will actually perform better that way, too.
Back to top
View user's profile Send private message
marko.pitkanen
PostPosted: Mon Jan 12, 2015 6:32 am    Post subject: Reply with quote

Chevalier

Joined: 23 Jul 2008
Posts: 440
Location: Jamsa, Finland

Thanks mqjef for remainding of perhaps the easiest solution.

--
Marko
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » IIB 9 Linux Oracle ODBC ORA-00904 question
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.