Last active
April 26, 2017 17:05
-
-
Save ethagnawl/4f049a207b78c9b02fbe6748ea7af9df to your computer and use it in GitHub Desktop.
postgres query by regex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- http://www.petefreitag.com/cheatsheets/postgresql/ | |
SELECT column FROM table WHERE column ~ 'foo.*'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment