Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the difference between trigger and storedprocedures

Answers were Sorted based on User's Feedback



what is the difference between trigger and storedprocedures..

Answer / narendra duby

triggers are invoked implicitly , while storedprocedures
are invoked explicitly.

Is This Answer Correct ?    18 Yes 1 No

what is the difference between trigger and storedprocedures..

Answer / sohail

Trigger and procedures are same but the substantial
difference is when they run.procedure is invoked explicitly
by the user and trigger is executed implicitly. another
diffrence is procedure cannot have the same name as table
name,funtion name or package name but trigger can have same
name as table name or procedure name.

Is This Answer Correct ?    14 Yes 1 No

what is the difference between trigger and storedprocedures..

Answer / anbu

Trigger will fire when the condition arises but the stored
procedure will execute when the user or main programme
wants its need.

Is This Answer Correct ?    9 Yes 0 No

what is the difference between trigger and storedprocedures..

Answer / tina

Hello Sharma,

Stored procesure is also have compiled code like triggers.

Thanks,

Is This Answer Correct ?    11 Yes 2 No

what is the difference between trigger and storedprocedures..

Answer / surajit pathak

Another One Important difference is you can Enable or
Disable the Trigger. which you can not do ..

Is This Answer Correct ?    7 Yes 0 No

what is the difference between trigger and storedprocedures..

Answer / poonam

Actually triger in action which is performed automatically
before or after a event occur and stored procedure is a
procedure which is executed when the it is called. Stored
procedure is module.

Is This Answer Correct ?    5 Yes 0 No

what is the difference between trigger and storedprocedures..

Answer / satish kumar

stored procedure are collections of T-sql statements and
they are pre complied staements,it not requiers any
complitation.

trigger are not pre complied statements , and they are
going to activate only when certain action takes place like
insert , update, delete,

Is This Answer Correct ?    3 Yes 0 No

what is the difference between trigger and storedprocedures..

Answer / 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

what is the difference between trigger and storedprocedures..

Answer / nagapawan

i want tell u that in 1)oracle- sql & pl/sql
2) sql server - sql & T-sql

all r giving the same answers to both , some difference
r there. for example writing a code different in oracle and
sql
server. in oracle- sql & pl/sql we can write big statements
and in sql server - sql & T-sql small statements ie,code.
ok . keep rememeber while answering it, wheather it is
oracle r sql server we r answering.
i have knowledge in both - oracle & sql server.

Is This Answer Correct ?    3 Yes 2 No

what is the difference between trigger and storedprocedures..

Answer / sunny kumar rana

1) A stored procedure can accept parameters while a trigger
cannot.
2) A trigger can’t return any value while stored procedures
depand on condition.
3) A trigger is executed automatically on some event while
a stored procedure needs to be explicitly called.
4) Triggers are used for insertions, update and deletions
on tables while stored procedures are often using
independently in the database.
5) A trigger cannot be written in a stored procedure.
However, the reverse is not possible.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

function can return value ,procedure also return value through out parameter then what is the difference?

3 Answers   3i Infotech,


What is string join?

0 Answers  


How to use distinct and count in sql query? Explain

0 Answers  


why use cursors?

5 Answers   Oracle,


What is relationship? How many types of relationship are there?

0 Answers  


What are the different types of dbmss?

0 Answers  


What is CYCLE/NO CYCLE in a Sequence?

2 Answers  


What is union, minus and interact commands?

0 Answers  


how to calcuate the second highest salary of he employee

13 Answers   Synechron,


what is the difference between stored procedure and packaged procedure

1 Answers   Google, Infosys,


Is natural join same as inner join?

0 Answers  


How to convert comma separated string to array in pl/sql?

0 Answers  


Categories