how far dynamic query built inside stored procedures is efficient than
normal queries inside stored procedures.
does dynamic query have advantage over ad hoc queries and in what way.
kalai vanankalaivanan wrote:
Quote:
Originally Posted by
how far dynamic query built inside stored procedures is efficient than
normal queries inside stored procedures.
The issue is caching query plans.
Quote:
Originally Posted by
does dynamic query have advantage over ad hoc queries and in what way.
They're more powerful - if you need it, and if you can afford the
disadvantages.
See http://www.sommarskog.se/dynamic_sql.html for more info.|||kalaivanan wrote:
Quote:
Originally Posted by
hi,
how far dynamic query built inside stored procedures is efficient than
normal queries inside stored procedures.
does dynamic query have advantage over ad hoc queries and in what way.
>
kalai vanan
If you pass object name as parameters, you have no choice other than
using dynamic sql
Make sure you read the suggested article fully
Madhivanan
No comments:
Post a Comment