Add to the connection string
Allow User Variables=True
Because the SQL statement contains custom parameters, such as @ rownum
allow user variables = true allows users to customize parameters.
Add to the connection string
Allow User Variables=True
Because the SQL statement contains custom parameters, such as @ rownum
allow user variables = true allows users to customize parameters.