Analyze Your Database and Improve Data Quality › SQL Script Generation
To generate all the corrective scripts, click File, SQL generation, New File. The result looks like the following: