Skip to content

Instantly share code, notes, and snippets.

@iradul
Created January 6, 2017 15:19
Show Gist options
  • Select an option

  • Save iradul/ef18bd74e15e0a1a730ab36346312196 to your computer and use it in GitHub Desktop.

Select an option

Save iradul/ef18bd74e15e0a1a730ab36346312196 to your computer and use it in GitHub Desktop.
MSSQL invalid charset detection
CHARINDEX('FDFF',CONVERT(varchar(max),(CAST(___COLUMN___ AS VARBINARY(max))),2)) > 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment