Hi Marc,
I was looking into RFE: #1145 (Preview SQL instead of executing it.). I was thinking to start implementing this feature by:
I) Placing a "Preview SQL" button on the following pages and dialogs: 1) Create table and Change table structure page.
2) Insert/Edit table row(s) page. 3) Relation view page. 4) Add/Edit Index dialog. II) Displaying the SQL in a jQuery dialog using Ajax.
I have attached some sample images. Please comment and correct me if I am missing something. Regards, Ashutosh Dhundhara