0

I want to execute this MySQL command:

mysql -Nse 'show tables' DATABASE_NAME | while read table; do mysql -e "truncate table $table" DATABASE_NAME; done

Whenever I do so, I receive the following error message:

'WHILE' is not recognized as an internal or external command, operable program or batch file.

0 Answers0