what is the difference between trigger and storedprocedures
Answer Posted / nancy
BASIC DIFFERENCE IS trigger is automatically executed without an action required by a user where as stored procedure needs to be explicitly invoked...
a database TRIGGER ia a STORED PROCEDURE that is fired when an insert,update or deletestatements is issued against the associate table.a trigger is fired whwn database related event occurs....
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What are literals in sql server?
What are sql functions? Describe the different types of sql functions?
How does sql store data?
What is pl sql script?
What is before and after trigger?
What is difference between table and view?
Do prepared statements prevent sql injection?
What is the max nvarchar size?
Is it possible to pass parameters to triggers?
Can we want to pass a parameter payroll_id to this external pl/sql function, how do we do it?
First round ------------------- - Procedure - Packages - Views - Virtual tables - Can we use dcl with in function? - Joins and few scenarios - Triggers and its type - Pragma, type and its functionality - How to create db link in oracle - Materialized view - How to find duplicate values from table? - Cursor and its functionality - Write a script to display friday and its date from a entire year. - Exception Handling Second round ------------------------ Gave a scenario like. Need to write a function to perform. When user try to change a password. It must not be last five password and a given password can be combination of characters, symbols, upper and lower case.
What is data profiling in sql?
What is user in sql?
What is embedded sql in db2?
How to take user input in pl sql?