oneliner to delete SQLite tables
I use this oneliner to delete the matching tables in SQLite. Use carefully!
- sqlite
- drop
- oneliner
I use this oneliner to delete the matching tables in SQLite. Use carefully!
This is a slight improvment of a previous snippet of mine: http://www.djangosnippets.org/snippets/1776/ It is an interactive shell script that greps and deletes sqlite tables USAGE: ./pdrop.sh myquery mydbfile