Skip to content

Instantly share code, notes, and snippets.

@arviman
Created November 2, 2011 19:18
Show Gist options
  • Save arviman/1334601 to your computer and use it in GitHub Desktop.
Save arviman/1334601 to your computer and use it in GitHub Desktop.
SET @dynamicSql = 'exec ' + @proc + ' ''' + @Actor1 + ''', '''+@Actor + ''''
EXECUTE sp_ExecuteSQL @dynamicSql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment