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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: how to put ' on statement

Re: how to put ' on statement

From: mitchell <mitchell_at_comnet.ca>
Date: Wed, 08 May 2002 07:29:26 -0800
Message-ID: <F001.0045B776.20020508072926@fatcity.com>


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

Original text of this message

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