Must declare the scalar variable

前端 未结 8 1299
小蘑菇
小蘑菇 2020-11-29 01:41

@RowFrom int

@RowTo int

are both Global Input Params for the Stored Procedure, and since I am compiling the SQL query inside the St

8条回答
  •  囚心锁ツ
    2020-11-29 02:19

    You can also get this error message if a variable is declared before a GOand referenced after it.

    See this question and this workaround.

提交回复
热议问题