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
What are the limitations/drawbacks or ssrs 2008 r2?
How to find the list of fixed hard drive and free space on server?
Where the sql logs gets stored?
How to remove duplicate rows from table except one?
How to loop through result set objects using mssql_fetch_array()?
Can you pass expressions to function parameters?
Why can there be only one clustered index and not more than one?
Does partitioning improve performance?
How do indexes help, types?
What is tempdb database? : SQL Server Architecture
What is database replication?
Can you use order by when defining a view?
How to invoke a trigger on demand?
What do mean by xml datatype?
Tell me the phases a transaction has to undergo?