Using 3.23.54 mysqldump produces DB references when scripting foreign keys. I.E FOREIGN KEY (`KEYNAME`) REFERENCES `DBNAME.TABLENAME` (`KEYFIELD`) Is there a way to avoid "DBNAME."? Using a template DB which is copied to new DB's with different names, hand editing is a pain. Could possibly be stream edited with "sed", just don't know how to do it...
SQL, QUERY --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php