I have some SQL scripts written in a .sql file I need to generate ER diagram using those scripts, so that I can verify the relationships and then get them executed in the DB.
Can anyone help me on how I can achieve this? I would prefer doing this in SQLDeveloper
EDIT: As ismetguzelgun suggested me in his answer to execute the scripts first and then export the diagram through data modeler. I do not have the permission to execute DML commands in the Database and I do not have any other database as well where I can execute this. So that option is not going to work out for me.