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: Why does script have more than one slash(/) inside?

RE: Why does script have more than one slash(/) inside?

From: Mercadante, Thomas F <NDATFM_at_labor.state.ny.us>
Date: Fri, 07 Nov 2003 10:49:33 -0800
Message-ID: <F001.005D5FD4.20031107104933@fatcity.com>


Maryann,

It could mean very bad things.

For example. If you have the following:

Insert into table as select * from another_table
/
/

The insert will run twice. Try it. You may not like it.

A slash means to execute what's in the sqlplus sql buffer. So whatever is in there will be executed.

Tom Mercadante
Oracle Certified Professional

-----Original Message-----
Sent: Friday, November 07, 2003 1:39 PM
To: Multiple recipients of list ORACLE-L

Sorry if I bore you all with my dumb questions, its just that the simplest and silliest things appear complex, if we dont know them... Often when I learn something, I go : was that all? and they go, yes, yes, that was all... Well, let me show you what I mean..

What does it mean when a .sql script has more than one slashes(/) inside it?

code

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Mercadante, Thomas F
  INET: NDATFM_at_labor.state.ny.us

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Fri Nov 07 2003 - 12:49:33 CST

Original text of this message

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