Senchi - Tuesday, January 2, 2018 7:19 PM
If they are, in fact, parameters as you say, then that's the wrong way to pass parameters in a stored procedure. Please see the following...
https://docs.microsoft.com/en-us/sql/t-sql/statements/create-procedure-transact-sql
Parameters look like variables that begin with @.
--Jeff Moden
Change is inevitable... Change for the better is not.