Skip to main content
deleted 4 characters in body
Source Link
Jonathan Allen
  • 70.6k
  • 77
  • 275
  • 458

Where you have '@keyword', that literally means the string "@keyword". Remove the single quotes if you want to use the @keyword parameter.

You cannot refer to a column name in a parameter. This is a limitation of how SQL Server, as it needs to compile your query before applying parameters.

Where you have '@keyword', that literally means the string "@keyword". Remove the single quotes if you want to use the @keyword parameter.

You cannot refer to a column name in a parameter. This is a limitation of how SQL Server, as it needs to compile your query before applying parameters.

Where you have '@keyword', that literally means the string "@keyword". Remove the single quotes if you want to use the @keyword parameter.

You cannot refer to a column name in a parameter. This is a limitation of SQL Server, as it needs to compile your query before applying parameters.

Source Link
Jonathan Allen
  • 70.6k
  • 77
  • 275
  • 458

Where you have '@keyword', that literally means the string "@keyword". Remove the single quotes if you want to use the @keyword parameter.

You cannot refer to a column name in a parameter. This is a limitation of how SQL Server, as it needs to compile your query before applying parameters.