Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: SQLPLUS ?
Why? That's a varchar2 column... it doesn't contain trailing spaces.
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Martha Delgado
Sent: Wednesday, June 02, 2004 4:38 PM
To: oracle-l_at_freelists.org
Subject: RE: SQLPLUS ?
Hi,
If I were you, Y would use rtrim(table_name) and I would use the "set
linesize n" where n is the length of the line.
regards
-----Mensaje original-----
De: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]En nombre de Seema Singh
Enviado el: Miércoles, 02 de Junio de 2004 06:22 p.m.
Para: oracle-l_at_freelists.org
Asunto: SQLPLUS ?
I want to create script in single line
like
select 'create snapshot dev.'||table_name||' '||
2 'using index tablespace INDX refresh fast with rowid start with sysdate
next sysdate + 7 as (select * from dev.'
3 ||table_name||'@testone);' from dba_tables
4* where owner='DEV' and table_name like 'CON_%'
I'm getting this script after spooling above query.I want output of above
query in single line.
What SQLPLUS parameters I need to setup?
thx -seema
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.htmlput 'unsubscribe' in the subject line.
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request_at_freelists.org
![]() |
![]() |