Hello I am trying create view, when I run it it will ask for values, I enter and it will search for data,here is my code I cant figured out what I am doing wrong, I get error
incorrect syntax near keyword declare
incorrect syntax near @pm_prd
incorrect syntax near keyword declare
incorrect syntax near @pm_prd