lk/data/sql/tricks.md

7 lines
120 B
Markdown
Raw Normal View History

2020-01-02 00:04:35 +00:00
# Find data from any table
> pg_dump --data-only --inserts -U postgres your-db-name > a.tmp
> grep 'my string' a.tmp