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: select from dual?

Re: select from dual?

From: Michal Zaschke <zaschke_at_suas.cz>
Date: Thu, 15 Nov 2001 00:30:38 -0800
Message-ID: <F001.003C5732.20011114233018@fatcity.com>

Did you mean somethink like this:

select 30,'where name in (''NAME1'',''NAME2'')' || ' ;' from dual;

"Tatireddy, Shrinivas (MED, Keane)" pí&scaron;e:
>
> Hi lists
>
> Whats wrong with the following statement:-
>
> select 30,'where name in ('NAME1','NAME2')' || ' ;' from dual;
>
> where as the following is working fine:
>
> select 30, 'where id in (10,20)' || ' ;' from dual;
>
> can anybody throw some light?
>
> thanx in adv
> srinivas
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Tatireddy, Shrinivas (MED, Keane)
> INET: Shrinivas.Tatireddy_at_med.ge.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).

-- 
 Ing. Michal Zaschke           
   DB Administrator             
Sokolovska uhelna, a.s.
phone: +420-168-465417
e-mail: zaschke_at_suas.cz
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Michal Zaschke
  INET: zaschke_at_suas.cz

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 Thu Nov 15 2001 - 02:30:38 CST

Original text of this message

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