Return to Snippet

Revision: 55030
at January 23, 2012 12:16 by ModServ


Initial Code
#!/bin/bash
mysql -D $DATABASE -e 'TRUNCATE TABLENAME;'

Initial URL
http://www.modserv.com.eg

Initial Description
A bash command to empty a database table.

Initial Title
Empty a database table

Initial Tags
database, table, Bash

Initial Language
Bash