awk '/^--|^$/ {print; next} !/;$/ {printf("%s ", $0); next} { print }'
This comes in handy for people that are happy with MySQL integrated into their Software where suddenly the big bad Oracle comes along and you need to do bells and whistles to make it tick.
isql is a great utility that can allow you from the command line work with every datasource UnixODBC supports.
Have fun...