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


Subject
Views
Written By
Posted
6948
March 26, 2008 04:39AM
4067
March 27, 2008 06:13AM
Re: SQL Script thats generated
3933
March 28, 2008 06:52PM
4166
March 28, 2008 07:17PM
4040
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.