Go to Tools --> Export --> Export wizard
Click Next -> Add -> Databases and Select the databases you want to export
Click Next and Select the output format as SQL script
Click Next -> Next -> Next -> Export Data
Your .sql scripts will exported to the file location
-------
For anyone still needing an answer for Toad... Go to the
Object Explorer -> select all the tables -> Right-click and select
'Send To -> Editor As Script'