Concatenation Operator
Hi All,
Can someone please format this below query to use concatenation? This query is not giving me any results. Its just simply pasting the query text in my output.
My DB is 11g.
select 'exec dbms_stats.gather_table_stats(ownname => ''||OWNER||'' ,
tabname=>''||TABLE_NAME||'', partname=> ''||'PARTITION_NAME'||'', granularity=>''AUTO'',
estimate_percent => DBMS_STATS.AUTO_SAMPLE_SIZE, degree => ''8'');' from dba_tab_statistics
Thanks
Hemanth