adspace


Why stored procedure is faster than query?

Answer Posted / Shashank Braham Dev Narayan

Stored procedures can be faster than SQL queries because they are precompiled, meaning they can reuse the execution plan. This eliminates the need to parse and bind each time the procedure is called, reducing overhead and improving performance.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is sql server agent? : Sql dba

1188


What is the best sql course?

1062


What is your daily office routine?

2351


How do I remove duplicates in two columns?

1201


Can we rollback truncate?

1083


define sql insert statement ? : Sql dba

1108


Is inner join faster than left join?

1287


Is primary key always clustered index?

1101


what is bcp? When does it used? : Sql dba

1065


what are all the common sql function? : Sql dba

1141


Can we use distinct and group by together?

1146


what is schema? : Sql dba

1163


Does group by remove duplicates?

1120


what are aggregate and scalar functions? : Sql dba

1142


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