Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: select data using trigger

RE: select data using trigger

From: Ganesh Raja <ganesh_at_gtfs-gulf.com>
Date: Mon, 10 Dec 2001 21:07:57 -0800
Message-ID: <F001.003D9800.20011210204517@fatcity.com>

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:Shrinivas.Tatireddy_at_med.ge.com]
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: Shrinivas.Tatireddy_at_med.ge.com

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: ListGuru_at_fatcity.com (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: ganesh_at_gtfs-gulf.com
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: ListGuru_at_fatcity.com (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). Received on Mon Dec 10 2001 - 23:07:57 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US