logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • Explain the difference between trigger and stored procedure.


  • Correct Answer
  • - A stored procedure can accept parameters while a trigger cannot - A trigger can?t return any value while stored procedures can - A trigger is executed automatically on some event while a stored procedure needs to be explicitly called - Triggers are used for insertions, update and deletions on tables while stored procedures are often using independently in the database - A trigger cannot be written in a stored procedure However, the reverse is not possible 


  • Technology problems


    Search Results


    • 1. What do you mean by Redo Log file mirroring ?
    • Discuss
    • 2. What are the varoius components of physical database structure of Oracle database?
    • Discuss
    • 3. What is a sub query? What are its various types?
    • Discuss
    • 4. What is a synonym? What are its various types?
    • Discuss
    • 5. What do you mean by a tablespace?
    • Discuss
    • 6. Explain Row level and statement level trigger.
    • Discuss
    • 7. What are aggregate functions in SQL? What are those functions?
    • Discuss
    • 8. What are Number Functions in SQL?
    • Discuss
    • 9. What are the basic SQL*Plus commands?
    • Discuss
    • 10. What is AFIEDT.BUF?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment