sql script 文件就是建表的语句,可以通过数据库的管理工具导出导出这些建表语句。
1, Generate the E-R diagram
File>>Reverse Engineer>>Database...>>popup a New Physical Data Model>> input Model name and select the right DBMS>>click OK>> Database Reverse Engineering Options dialog box was opened >> select the Using script files radio >> select your sql script file >> click ok >> E-R diagram has been generated
2, Export the the E-R diagram into a picture.
Ctrl+A(select all the E-R model)>>Edit>>Export Image...>>save as >>select the save type>> click the ok>> E-R picture has been generated.