Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: [RE: COPY vs. INSERTS
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
-- 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"Received on Fri May 26 2000 - 15:25:55 CDT
<!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>"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. </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. 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."</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> INET: milan_rahman_at_MailAndNews.com</FONT>
</P>
<P><FONT SIZE=2>Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051</FONT>
<BR><FONT SIZE=2>San Diego, California -- 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). You may</FONT>
<BR><FONT SIZE=2>also send the HELP command for other information (like subscribing).</FONT>
![]() |
![]() |