Skip to content

Instantly share code, notes, and snippets.

@dhamaso
Created October 6, 2015 17:14
Show Gist options
  • Save dhamaso/5298ca7162e2db427938 to your computer and use it in GitHub Desktop.
Save dhamaso/5298ca7162e2db427938 to your computer and use it in GitHub Desktop.
Forma un condición en base a si existe un parametro o no.
@paramName IS NULL OR columnName = @paramName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment