MySQL Forums
Forum List  »  MySQL Workbench

Re: SQL Script thats generated
Posted by: Alfredo Kengi Kojima
Date: March 28, 2008 06:52PM

that's tricky, because the script generation is all done in a single step
through C++ code. There are functions for getting the SQL code for individual
tables and stuff, but that will give you a string like
CREATE TABLE bla ( columns etc etc) ENGINE=InnoDB etc etc;
If what you want to do is some simple string replacement (like stripping the
ENGINE=.* portion), it should be doable, otherwise it's probably easier to do
it as post-processing of the generated SQL.

Options: ReplyQuote

Written By
March 26, 2008 04:39AM
March 27, 2008 06:13AM
Re: SQL Script thats generated
March 28, 2008 06:52PM
March 28, 2008 07:17PM
March 28, 2008 05:22PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.