adspace


What is difference between stored procedure and trigger?

Answer Posted / Subhash Chandra Gupta

A stored procedure is a precompiled collection of PL/SQL code that performs a specific task. It can be called multiple times when needed. A trigger, on the other hand, is a special kind of stored procedure that automatically executes in response to specific events (like insert, update, or delete) in a database.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we use distinct and group by together?

1145


define sql insert statement ? : Sql dba

1107


what are all the common sql function? : Sql dba

1139


What is the current version of sql?

1103


Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me

2099


how to use regular expression in pattern match conditions? : Sql dba

1122


how to start mysql server? : Sql dba

1278


What is your daily office routine?

2351


what is schema? : Sql dba

1160


what is sql server agent? : Sql dba

1188


what are aggregate and scalar functions? : Sql dba

1141


Does group by remove duplicates?

1118


what is dbms? : Sql dba

1069


how to escape special characters in sql statements? : Sql dba

1124


Is primary key always clustered index?

1101