Regarding the first error: are you executing the script in the correct database?
Regarding the second error: you forgot the parameters data types.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP