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: [RE: COPY vs. INSERTS

RE: [RE: COPY vs. INSERTS

From: Alex Hillman <alex_hillman_at_physia.com>
Date: Fri, 26 May 2000 16:25:55 -0400
Message-Id: <10509.106923@fatcity.com>


This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible.

------_=_NextPart_001_01BFC750.986F3DD0
Content-Type: text/plain;

        charset="iso-8859-1"

What do you think is the difference between Oracle types NUMBER and DECIMAL(38) - answer is NONE.

Alex Hillman

-----Original Message-----
From: Milan Rahman [mailto:milan_rahman_at_MailAndNews.com] Sent: Friday, May 26, 2000 3:08 PM
To: Multiple recipients of list ORACLE-L Subject: Re: [RE: COPY vs. INSERTS

One important note regarding SQLPLUS COPY utility that can make this less utilitarian is as follows from SQL*Plus 3.1 User Guide and Reference: "Note: To enable the copying of data between ORACLE and non-ORACLE databases,
NUMBER columns are changed to DECIMAL columns in the destination table. Hence, if you are copying between ORACLE databases, a NUMBER column with no precision will be changed to a DECIMAL(38) column. When copying between ORACLE databases, you should use SQL commands (CREATE TABLE AS and INSERT) or
you should ensure that your columns have a precision specified."

Milan Rahman
Senior Oracle DBA
Oracle Applications DBA
SageLogix, Inc.
Greenwood Village, Colorado

http://www.sagelogix.com

-- 
Author: Milan Rahman
  INET: milan_rahman_at_MailAndNews.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).

------_=_NextPart_001_01BFC750.986F3DD0
Content-Type: text/html;
	charset="iso-8859-1"


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2448.0">
<TITLE>RE: [RE: COPY vs. INSERTS</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>What do you think is the difference between Oracle types NUMBER and DECIMAL(38) - answer is NONE.</FONT>
</P>

<P><FONT SIZE=2>Alex Hillman</FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Milan Rahman [<A HREF="mailto:milan_rahman_at_MailAndNews.com">mailto:milan_rahman_at_MailAndNews.com</A>]</FONT>
<BR><FONT SIZE=2>Sent: Friday, May 26, 2000 3:08 PM</FONT>
<BR><FONT SIZE=2>To: Multiple recipients of list ORACLE-L</FONT>
<BR><FONT SIZE=2>Subject: Re: [RE: COPY vs. INSERTS</FONT>
</P>
<BR>

<P><FONT SIZE=2>One important note regarding SQLPLUS COPY utility that can make this less </FONT>
<BR><FONT SIZE=2>utilitarian is as follows from SQL*Plus 3.1 User Guide and Reference:</FONT>
<BR><FONT SIZE=2>&quot;Note: To enable the copying of data between ORACLE and non-ORACLE databases, </FONT>
<BR><FONT SIZE=2>NUMBER columns are changed to DECIMAL columns in the destination table.&nbsp; </FONT>
<BR><FONT SIZE=2>Hence, if you are copying between ORACLE databases, a NUMBER column with no </FONT>
<BR><FONT SIZE=2>precision will be changed to a DECIMAL(38) column.&nbsp; When copying between </FONT>
<BR><FONT SIZE=2>ORACLE databases, you should use SQL commands (CREATE TABLE AS and INSERT) or </FONT>
<BR><FONT SIZE=2>you should ensure that your columns have a precision specified.&quot;</FONT>
</P>

<P><FONT SIZE=2>Milan Rahman</FONT>
<BR><FONT SIZE=2>Senior Oracle DBA</FONT>
<BR><FONT SIZE=2>Oracle Applications DBA</FONT>
<BR><FONT SIZE=2>SageLogix, Inc.</FONT>
<BR><FONT SIZE=2>Greenwood Village, Colorado</FONT>
</P>

<P><FONT SIZE=2>http://www.sagelogix.com</FONT>
</P>

<P><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>Author: Milan Rahman</FONT>
<BR><FONT SIZE=2>&nbsp; INET: milan_rahman_at_MailAndNews.com</FONT>
</P>

<P><FONT SIZE=2>Fat City Network Services&nbsp;&nbsp;&nbsp; -- (858) 538-5051&nbsp; FAX: (858) 538-5051</FONT>
<BR><FONT SIZE=2>San Diego, California&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Public Internet access / Mailing Lists</FONT>
<BR><FONT SIZE=2>--------------------------------------------------------------------</FONT>
<BR><FONT SIZE=2>To REMOVE yourself from this mailing list, send an E-Mail message</FONT>
<BR><FONT SIZE=2>to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in</FONT>
<BR><FONT SIZE=2>the message BODY, include a line containing: UNSUB ORACLE-L</FONT>
<BR><FONT SIZE=2>(or the name of mailing list you want to be removed from).&nbsp; You may</FONT>
<BR><FONT SIZE=2>also send the HELP command for other information (like subscribing).</FONT>
Received on Fri May 26 2000 - 15:25:55 CDT

Original text of this message

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