Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rodrigozrusso/266c8185b0f9bba964f52af747c022f8 to your computer and use it in GitHub Desktop.
Save rodrigozrusso/266c8185b0f9bba964f52af747c022f8 to your computer and use it in GitHub Desktop.
Select data from column with leading and trailing sapces
select url from mytable where substr(url,1,1) = ' ' or substr(url,-1,1) = ' ';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment