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 / gangi naidu.k

In case of sql queries,it is possible to compile one query
at a time,but incase of stored procedure we can compile
bunch of queries at a time and also it is need at first
time only,suppose we need modification on queries,after
modifications no need to compile again in case of stored
procedures,but in case of sql queries we have to compile
every time.Stored procedure contain queries in compiled
format so execution also fast and tome saving.One more
thing is in case of stored procedures serurity also more.

Is This Answer Correct ?    18 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the recovery models for a database?

1107


Explain different backup plans?

951


What are the types of lock supported by ?

1046


How do we upgrade from SQL Server 6.5 to 7.0 and 7.0 to 2000?

2000


What are the different types of join?

1173


What are the steps you will take to improve the performance of a poor performing query?

979


How to override dml statements with triggers?

1191


Why do we partition data?

1034


Sql server reporting services vs. Crystal reports.

134


What is a Join and explain its types?

1104


Determine when to use stored procedure to complete sql server tasks?

1055


Which are new data types introduced in sql server 2008?

1053


Write a SQL query to make a column as unique?

1044


What are the disadvantages of primary key and foreign key in SQL?

1116


What is the difference between functions and scalar functions?

1212