In PREPARE statements, only question marks are allowed for parameter specifications.
Replace the SQL variable with a question mark.