GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Oracle  >  D2K
Next Question 
 D2K  |  Question 1 of 71    Print  
What is purpose and order of firing the following triggers
- on fetch
- on select

  
Total Answers and Comments: 3 Last Update: January 12, 2009   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 24, 2005 03:13:38   #1  
Krishna Kumar Jha        

RE: What is purpose and order of firing the following triggers- on fetch- on select
First on-select then on-fetch trigger is fired .
On-select is used to open and execute database query. on-fetch can be used in conjunction with on-select to replace the processing that normally occur in execute query built in procedure

 
Is this answer useful? Yes | No
September 13, 2006 04:23:01   #2  
liz        

RE: What is purpose and order of firing the following ...

1)On select fires first.

On select fFires when Forms Developer would normally execute the open cursor parse and execute phases of a query to identify

2)On fetch fires next

When a query is first opened on-fetch fires immediately after the On-Select trigger fires when the first records are fetched into the block. While the query remains open fires again each time a set of rows must be fetched into the block.


 
Is this answer useful? Yes | No
January 12, 2009 11:34:05   #3  
bc_sumanamara Member Since: January 2009   Contribution: 6    

RE: What is purpose and order of firing the following triggers- on fetch- on select

Fires when Form Builder would normally execute the open cursor parse and execute phases of a query to identify the records in the database that match the current query criteria.


FORM AND BLOCK LEVEL

EXAMPLE
IF Get_Application_Property(DATASOURCE) 'DB2' THEN
User_Exit ( 'Query' );
IF Form_Failure OR Form_Fatal THEN
ABORT_QUERY;
END IF;
ELSE
/*
** Perform the default Form Builder task of opening the query.
*/
Select_Records;
END IF;


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape