Skip to content

Instantly share code, notes, and snippets.

@edermfl
Created April 9, 2019 11:37
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 edermfl/a734c4072555c6d42dd0ba0ab2805e3b to your computer and use it in GitHub Desktop.
Save edermfl/a734c4072555c6d42dd0ba0ab2805e3b to your computer and use it in GitHub Desktop.
-- retorna a quantidade de críticas do tipo 'E'
select regexp_count(criticas_erro, 'E\..*?\|') from tabela;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment