views:

105

answers:

2

MySQL workbench can export a MYSQL data model to SQL create table script. But can I choose to suppress comments when doing the export? If yes, how?

A: 

you may want to search here:

http://forums.mysql.com/index.php?151

A: 

I can offer you no integrated tool. You could run it through sed. The following command can do the trick:

sed '/^COMMENT/ d' original.sql > cleaned.sql

(Well... obviously you need sed for this...)

Kalmi