mysqldump parameter to ensure DROP VIEW IF EXISTS rather than incorrect DROP TABLE IF EXISTS
- by doublejosh
Wonder if there is a parameter I can pass in mmysqldump equivalent for SQL Servery mysqldump that will make the incorrect "DROP TABLE IF EXISTS" statements into "DROP VIEW IF EXISTS", so that populating a database in an automated development environment refresh will work?
Clarification, I'm getting DROP TABLE IF EXISTS statements in my .sql dump file even though they aren't tables.
FYI: This is a Drupal site. The tables in question are ubercart meta statistics tables.