问题
alt text http://www.freeimagehosting.net/uploads/64fac9c8c4.gif
is it possible to generate sql scripts from for all tables ? i want to generate the sql script and import into another database server
回答1:
Select the tables you want to export, right click, scripts>create table script. It works in mysql, not sure about oracle.
回答2:
For anyone on the 3.4.0 version on OSX, I had to do it this way:
Select the DB
Session >> SQL Server >> Generate T-SQL Script
Select the Objects/Tables wanted
Saves to a file, but gives you no progress indicator, so give it a while to run.
来源:https://stackoverflow.com/questions/1062010/generate-sql-script-from-tables