aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Java Programming Fundamentals
  • How many times pre query and post query fired when we fet...
Multiple choice technology programming languages

How many times pre query and post query fired when we fetch 10 record from a table ?

  1. 1,1

  2. 1,10

  3. 10,10

  4. 10,1

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Pre-query trigger fires once before the query executes. Post-query trigger fires once per record fetched, so for 10 records it fires 10 times. This makes option B (1,10) correct.

Keep practicing — related questions

  • The Query has Main and Sub Query. If the main query returns 10 records and subquery returns 5 records, then...
  • The table employee contains 20 records. What is the output of the query " Select 8 from Employee"?
  • Emp table has 10 rows. How many rows will be fetched against the following query? Select 10 from emp where ...
  • There are 10 rows in Table A and 0 Rows in table B. If you fire the following query:
  • Which of the following returns the number of records in the result from a SELECT query?
  • If emp table is having 10 rows, which of the below queries executes successfully without error? A) delete f...
  • There are 10 rows in Table A and 0 Rows in table B. Select * from A,B How many rows will be retrieved.
  • What is the output of the below queries: if table A is having 16 rows: select count(*) from A where 10=10; ...
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy