Yes I know I can do that but I was hoping that SQL Developer database
export would have the option as I use it to extract all my database objects
to our source control repository - each object to a single file.
When I add a colum to a table typically there will be a view or views to
update and it's just simpler if the views don't contain an attribute list.
One less update to do. Laziness or efficiency? I'm not sure.
On 25 Apr 2017 15:38, "Michael D O'Shea/Woodward Informatics Ltd" <
Just a thought ...... if you wanted a copy of the unadulterated VIEW
source code outside of SQL Developer, you could just query ALL_VIEWS
On 25 Apr 2017, at 15:59, Jeff Smith <jeff.d.smith@xxxxxxxxxx> wrote:
I don’t think DBMS_METADATA offers a flag for that preference, so the
short answer is ‘no.’
You could create a custom report though and build the DDL code yourself,
and attach that as a tab in the View editor.
*From:* Fergal Taheny [mailto:ftaheny@xxxxxxxxx <ftaheny@xxxxxxxxx>]
*Sent:* Tuesday, April 25, 2017 9:51 AM
*Subject:* SQL Developer - view DDL Formatting
When using “Database Export” in SQL Developer, does anyone know if there
is a way get the DDL for views to look like this:
CREATE OR REPLACE VIEW “X” AS
instead of this:
CREATE OR REPLACE VIEW “X” (“A”,”B”,”C”) AS
i.e. I don’t want the attribute list to appear.