I am new to SQL. I am trying to convert a query to use parameters picked up from the Excel sheet. I have made parameter input to work with other queries but this one is fighting hard I have tried all sorts of options, some still in the code and get various error messages including Invalid Columns, "No column name was specified for column of R"


Please Login or Register  to view this content.
Where have I gone wrong ?
I am using variables to make the queries as generic as possible.

Thanks for any help