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...

Difference between Triggers and Stored Procedure

Answer Posted / bed singh

1. Triggers can only be implemented on tables or views but
Stored Procedure in independent code that can be specific
to database.

2. Triggers are automatically run but stored procedures are
not automatically run and they have to be called explicitly
by the user.

3. we can write a stored procedure within a trigger but
cannot write a trigger within a stored procedure.

4. Trigger is attached to table or view and is fired only
when an INSERT, UPDATE, and/or DELETE occurs, while a
stored procedure executes at any time when it is called.

Is This Answer Correct ?    75 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of using third-party tools?

921


What is the use of keyword with encryption.

972


Explain about Joins?

938


Can You Use Data Mining Models In Ssrs?

139


What is 'write-ahead log' in sql server 2000 ?

991


How to insert a new row into a table with "insert into" statements in ms sql server?

915


What are the underflow and overflow behaviors on float literals?

1061


What is the sql case statement used for? Explain with an example?

941


What is the use of =,==,=== operators?

959


Write a sql query to sort on different column name according to the parameters passed in the function?

855


What are sql servers used for?

982


What is dimension table? : sql server analysis services, ssas

976


What is the current limitation of the size of SQL Azure DB?

124


What part does database design plays a role in performance of an sql server-based application?

928


Explain DBCC?

911