Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Including special characters in query generation

Including special characters in query generation

From: Chirag DBA <chiragdba_at_gmail.com>
Date: Fri, 2 Sep 2005 11:39:40 -0400
Message-ID: <1a3629600509020839dd3576e@mail.gmail.com>


I want to generate a script for all users.  What is wrong here? There is one set parameter to set special characters off.
 select 'exec dbms_stats.gather_schema_stats
(ownname=>''''||username||'''||'

estimate_percent=>dbms_stats.auto_sample_size,method_opt=>'||'''for all columns size repeat''',degree =>7)' from dba_users; select 'exec dbms_stats.gather_schema_stats
(ownname=>'||'''||username||'''||'

estimate_percent=>dbms_stats.auto_sample_size,method_opt=>'||'''||for all columns size repeat||''',degree =>7)' from dba_users;  can anyone tell me what is missing here ?  Regards - Chirag

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Sep 02 2005 - 10:41:46 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US