Skip to content

Instantly share code, notes, and snippets.

@underwhelmed
Created July 15, 2010 21:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save underwhelmed/477579 to your computer and use it in GitHub Desktop.
Save underwhelmed/477579 to your computer and use it in GitHub Desktop.
DECLARE @sql VARCHAR(255)
SET @sql = 'SELECT Testing FROM @tbl WHERE CONTAINS(*, ''"' + @p0 + '*"'')'
EXEC @sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment