select * from table where 1 = 1 /* and insert into table ... */;
seems to work fine as long as it is formatted with the proper characters
surrounding the statement.

Why do you want to put an insert into a select?  Is the desire to select the
records that are being inserted or what?

****************************************
 Brian L. Anderson
 Flunky/SA/DBA
 Darton College
 [EMAIL PROTECTED]
----------------------------------------



> -----Original Message-----
> From: Abdul Aleem [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 12, 2001 7:42 AM
> To: Multiple recipients of list ORACLE-L
> Subject: RE: this drove me crazy!!!
> 
> 
> Yes! he can, as a matter of fact he can even write a complete 
> song in WHERE
> clause, its just that it won't work :)
> HTH!
>  -----Original Message-----
> Sent: Sunday, February 11, 2001 1:25 AM
> To:   Multiple recipients of list ORACLE-L
> Subject:      Re: this drove me crazy!!!
> 
> I think your customer is just testing your treshold for insanity
> 
> [EMAIL PROTECTED] wrote:
> >
> > Hi d.b.a people,
> > how r u?
> > I'm an Oracle DBA and my customer told me something that drove
> > me crazy,he told me that he could write an 'insert statement' in the
> > 'where' clause of a 'select' statement.
> > Is this true? and if so,could you kindly tell me how?
> > thanks alot
> > 
> > ____________________________________________________________________
> > Get free email and a permanent address at 
> http://www.netaddress.com/?N=1
> > -- 
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > -- 
> > Author: MOHAMMAD AMER
> >   INET: [EMAIL PROTECTED]
> > 
> > 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: [EMAIL PROTECTED] (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).
> __________________________________________________________________
> Get your own FREE, personal Netscape Webmail account today at
> http://webmail.netscape.com/
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: 
>   INET: [EMAIL PROTECTED]
> 
> 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: [EMAIL PROTECTED] (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: Abdul Aleem
>   INET: [EMAIL PROTECTED]
> 
> 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: [EMAIL PROTECTED] (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: Anderson, Brian
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to