Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: this drove me crazy!!!
No can do. Maybe he was confused and meant it the other way around:
insert into temp select * from emp;
>From: "Anderson, Brian" <andersob_at_mail.dartnet.peachnet.edu>
>Reply-To: ORACLE-L_at_fatcity.com
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Subject: RE: this drove me crazy!!!
>Date: Mon, 12 Feb 2001 06:10:21 -0800
>
>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
> andersob_at_mail.dartnet.peachnet.edu
>----------------------------------------
>
>
>
> > -----Original Message-----
> > From: Abdul Aleem [mailto:abchaudhary-ho_at_beaconhouse.edu.pk]
> > 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
> >
> > ORACLE-L_at_fatcity.com 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: mohammad_amer_at_usa.net
> > >
> > > 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).
> > __________________________________________________________________
> > 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: bmarialuz_at_netscape.net
> >
> > 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: Abdul Aleem
> > INET: abchaudhary-ho_at_beaconhouse.edu.pk
> >
> > 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: Anderson, Brian
> INET: andersob_at_mail.dartnet.peachnet.edu
>
>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: Mike Killough INET: mwkillough_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).Received on Mon Feb 12 2001 - 09:30:38 CST