Enhancement request:
In the Schema Browser, right click on a table, under the Data -> Copy to another schema option.
Add a couple of options, under the "Before Copy" area that says something like "Create grants" and "Create synonyms" (two options).
Therefore, you would have six options:
- Create destination tables if needed
- Create Grants
- Create Synonyms
- Truncate destination tables
- Disable Triggers
- Disable Constraints
Justification:
In development shops there are typically multiple database instances (DEV & PROD). I consult in the Life Science sector. In this sector there are typically three environments (DEV, TEST/VAL & PROD). This enhancement would make it easier to promote tables, along with their grants and synonyms, from DEV to TEST to PROD. If the proper structures aren't in place on the target environment, the creation attempts would simply fail and get reported just as other copy/create failures are reported