what is dynamic stored procedure ? what is their relation with dynamic functions and dynamic queries?

后端 未结 1 1817
遥遥无期
遥遥无期 2021-01-25 05:05

how do we implement dynamic stored procedure and do they relate to dynamic functions and dynamic queries in sql server ?

Kindly enlighten...

相关标签:
1条回答
  • 2021-01-25 05:25

    There is only dynamic SQL which refers to the practice of creating a T-SQL text and executing it using the sp_executesql (or simply exec): The Curse and Blessings of Dynamic SQL.

    Stored procedures can execute dynamic SQL, functions cannot.

    0 讨论(0)
提交回复
热议问题