oos-utils icon indicating copy to clipboard operation
oos-utils copied to clipboard

View to view View Source

Open martindsouza opened this issue 9 years ago • 1 comments

See http://dickdral.blogspot.ca/2016/05/query-view-sources-like-you-query-your.html?m=1 as an example.

Need to think of simple way to do this. Avoiding schema level types would be preferred.

martindsouza avatar May 31 '16 04:05 martindsouza

You could use something like: `` create or replace package as_source is subtype tp_all_source_row is sys.all_source%rowtype; type tp_all_source_tab is table of tp_all_source_row; function get_source ( object_name varchar2 , object_type varchar2 := 'ALL' , owner varchar2 := null ) return tp_all_source_tab pipelined; end; /

antonscheffer avatar Sep 26 '16 09:09 antonscheffer