I've created a stored procedure that is called upon by a VBScript. The VBScript passes two varchar parameters to the sp - User Name and Computer Name. My intent of the SP is to return an integer to be used later in the script. When the script runs, it errors out with the following error:
Microsoft VBScript runtime error: Invalid or unqualified reference
I'm specifying the return value in the script as an integer, so I'm not sure where this is going wrong. I've attached the SP in a text file and the script used to run the SP, so if anyone out there can take a look and provide me some assistance I would much appreciate it. Thank you!