Data lack is happen when I execute following query and export tsv from wizard.
--query
Select
view_name
, replace(replace(dbms_metadata.get_ddl(‘VIEW’, view_name), ‘“‘,’’), concat(user, ‘.’),’’) as ddl
From user_views
order by view_name;
--result
"VIEW_NAME" | "DDL"
"V_EQUITY" |
" CREATE OR REPLACE FORECE EDITABLE VIEW...
…"
"V_MATERIAL" |
" CREATE OR REPLACE FORECE EDITABLE VIEW V_MATERIAL (XXXX,XXXXX,XXXXX,...
XXXX,....) AS
SELECT
XXXX
,XXXX
,XXXX
,XXXX
FROM
(SELECT * FROM XXXX) MT
LEFT O"
-> Actually query is continued but some view is lacked. Maybe it is too long but I don't know the limit.
It is confusing it is no problem when I try following query and export tsv file.
--query
select
view_name
, replace(replace(dbms_metadata.get_ddl(‘VIEW’, view_name), ‘“‘,’’), concat(user, ‘.’),’’) as ddl
from user_views where view_name = 'V_MATERIAL'
order by view_name;
set long 32767
, but it doesn't sound like you are.)