The Select Trigger is not available as of 8.1.7 But i heard that from Oracle 9i they have introduced a Select Trigger.
So maybe you can try in those docs. But I am not sure if u can make it fetch from the Cont2 Table. I prefer u write a ref Cursor to Achive that this will be siimpler and there will not be mmuch change in the application. HTH Best Regards, Ganesh R Tel : +971 (4) 397 3337 Ext 420 Fax : +971 (4) 397 6262 HP : +971 (50) 7456019 -----Original Message----- [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 7:50 AM To: Multiple recipients of list ORACLE-L Hi lists, Can anybody help me...? Table CONTRACTS is accessed by many applications and has many selects hit this table. This table has 15 indexes. Still It needs some more indexes. But we were instructed to stop creating indexes. We have another table CONT2 in another schema. This table is copy of CONTRACTS. Is there a way to write a trigger on CONT2 for the following issue: if a particular select / select statement issued against CONTRACTS table, that query should select data from CONT2. (There is only one particular select statement that is more resource intensive. We need to divert that query to CONT2. As the applications are already tuned, we were not permitted to modify that code.) Thnx in advance, Srinivas -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Tatireddy, Shrinivas (MED, Keane) INET: [EMAIL PROTECTED] Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Ganesh Raja INET: [EMAIL PROTECTED] Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).