In Toad 12.1, the following issue occurs when sending a script to the Editor.
=========
Schema browser | Constraints tab
Use a filter to select enabled referential constraints only
Ctrl-A to highlight all in list
Right click and select 'Create Script'
Send to Editor as script
=========
The first constraint for each table is extracted correctly but subsequent constraints for the same table are incorrect and leave out the foreign key column, e.g.
FOREIGN KEY ()
There is an empty parentheses where the constrained column should be.
WORKAROUND:
This works ok with v11.6
STATUS:
Fixed in version 12.5.0. The latest version of Toad for Oracle can be downloaded here.