Quickly copying objects to a new environment is easy in SQL Developer. You simply go to the object in the tree and access the SQL page.
However a few of our users were complaining that we weren’t including the object privileges that had been GRANTed in the SQL script. So after re-creating the object in another system, they would have to look at the Grants page and manually recreate those scripts.
So in version 3.2, you can now include the GRANT statements in your object scripts.
Voila!
But Wait, I Still Don’t See My Grants!
There’s no trick here. But, you must first tell SQL Developer what you want included in your scripts. Whenever SQL Developer generates a script for an object, it consults the preferences.
Another very small change that I believe will vastly improve the end user’s experience – and save you a lot of time!





Twitter
RSS
GooglePlus
Facebook
Sep 20, 2012 @ 03:02:52
Hi Jeff,
Thanks for these updates. It is very helpful.
However with Grants , there seems to be an issue where in if I do not login as the owner of the table, the Grant scripts are not generated. Usually one would expect some one like a DBA user to generate the SQL DDL for any Schemas
Cheers
Sep 20, 2012 @ 07:50:22
This is a known bug and it’s already been fixed for our next release. You’re absolutely right in your expectation and we’ll get this taken care for you ASAP.
Sep 20, 2012 @ 23:29:51
Thank you for the update. looking forward to the next release.
Cheers