Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: how to put ' on statement
Hi
I worked out for add' . Thanks for all your help.
This is a sql to moveing datafile when database is open.
Mitchell
select 'ALTER DATABASE RENAME FILE',' '''||file_name||''' TO
'''||file_name||''' ;'
from dba_data_files
where tablespace_name = 'TBL_STATEMENT';
> Hello Bill
>
> You missed the point that the '' was a part of a character string.
> If you select ' '' ' from dual; you will get ' in reply.
>
> Yechiel Adar
> Mehish
> ----- Original Message -----
> To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
> Sent: Tuesday, May 07, 2002 11:47 PM
>
>
> > JayMiller_at_TDWaterhouse.com wrote:
> >
> > > Other method is to use ''
> >
> >
> > actually i think that's a null, do you mean '''?
> >
> >
> >
> > --
> > --
> > Bill "Shrek" Thater ORACLE DBA
> > bthater2_at_netscape.net
> > ------------------------------------------------------------------------
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Yechiel Adar
> INET: adaryechiel_at_hotmail.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: mitchell INET: mitchell_at_comnet.ca Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed May 08 2002 - 10:29:26 CDT