Sunday 19 August 2012

Pl Sql Questions

http://www.techinterviews.com/interview-questions/unixlinux


 

SQL AND PL/SQL



Read the following code:

Read the following code:
22. CREATE OR REPLACE TRIGGER update_show_gross
23. {trigger information}
24. BEGIN
25. {additional code}
26. END;

The trigger code should only execute when the column, COST_PER_TICKET, is greater than $3. Which trigger information will you add?

1. WHEN (new.cost_per_ticket > 3.75)
2. WHEN (:new.cost_per_ticket > 3.75
3. WHERE (new.cost_per_ticket > 3.75)
4. WHERE (:new.cost_per_ticket > 3.75)





If want more things for interview questions followed by below link:
http://dev.fyicenter.com/Interview-Questions/SQL/_Read_the_following_code__109.html 

No comments:

Post a Comment