T-SQL: Cannot pass concatenated string as argument to stored procedure

后端 未结 3 2096
梦如初夏
梦如初夏 2020-12-09 09:38

Scenario: Need to pass n arguments to a stored procedure. One of the arguments is of type varchar(x). That varchar argument needs to b

3条回答
  •  悲&欢浪女
    2020-12-09 09:39

    It's a limitation on the EXEC statement. See The curse and blessings of dynamic SQL for more information.

提交回复
热议问题