Oracle Materialized view SQL

8 views
Skip to first unread message

paol...@gmail.com

unread,
Aug 13, 2021, 6:27:20 AM8/13/21
to SQL Workbench/J - DBMS independent SQL tool
Hi Thomas,

I am reporting a problem in the materialized views DDL generation.
It can contain the statements

COMPRESS FOR BASIC

which results in a syntax error upon execution.

Thomas Kellerer

unread,
Aug 16, 2021, 2:47:30 AM8/16/21
to sql-wo...@googlegroups.com
Thanks for the feedback, I will fix it.

You can make SQL Workbench use Oracle's dbms_metadata, by setting the configuration property:

workbench.db.oracle.use.dbmsmeta.mview=true

Or if you want it for all Oracle objects (Tables, Views, Index, etc)

workbench.db.oracle.use.dbmsmeta=true

You can set this e.g. using WbSetConfig or by editing workbench.settings.

Regards
Thomas
Reply all
Reply to author
Forward
0 new messages