• The error message is telling you exactly what you need to do. You need to declare the variable @User before you use it in your query.