Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 32457 invoked from network); 14 May 2008 15:00:08 -0500
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by air964.startdedicated.com with SMTP; 14 May 2008 15:00:07 -0500
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 24B8F85114F;
 Wed, 14 May 2008 15:58:09 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 31835-09-3; Wed, 14 May 2008 15:58:08 -0400 (EDT)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 6F3978511DB;
 Wed, 14 May 2008 15:58:08 -0400 (EDT)
Received: with ECARTIS (v1.0.0; list oracle-l); Wed, 14 May 2008 15:19:35 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 12520850F4B
 for <oracle-l@freelists.org>; Wed, 14 May 2008 15:19:35 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 26139-10 for <oracle-l@freelists.org>;
 Wed, 14 May 2008 15:19:34 -0400 (EDT)
Received: from blu0-omc4-s31.blu0.hotmail.com (blu0-omc4-s31.blu0.hotmail.com [65.55.111.170])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id A430C850D7A
 for <oracle-l@freelists.org>; Wed, 14 May 2008 15:19:34 -0400 (EDT)
Received: from BLU108-W30 ([65.55.111.135]) by blu0-omc4-s31.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959);
	 Wed, 14 May 2008 12:21:32 -0700
Message-ID: <BLU108-W3016E5FBBFB6BCEA7A4B7697CE0@phx.gbl>
Content-Type: multipart/alternative; boundary="_fd78e6b8-c31d-4b9b-bedd-b89bc04cc5ab_"
X-Originating-IP: [66.236.147.253]
From: Joe Smith <joe_dba@hotmail.com>
To: <oracle-l@freelists.org>
Subject: default length for DATE datatype
Date: Wed, 14 May 2008 14:21:32 -0500
MIME-Version: 1.0
X-OriginalArrivalTime: 14 May 2008 19:21:32.0376 (UTC) FILETIME=[B7B5E580:01C8B5F7]
X-archive-position: 8077
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: joe_dba@hotmail.com
Precedence: normal
Reply-to: joe_dba@hotmail.com
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain
--_fd78e6b8-c31d-4b9b-bedd-b89bc04cc5ab_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


How can the same table in two different databases have a differentDEFAULT_L=
ENGTH  for the DATE datatype? One database is dev and the otheris UAT.  Bot=
h databases are on the same server and same oracle home 10.2.0.3.0 EE.
=20
=20
> select table_name, column_name , default_length from user_tab_columns whe=
re table_name =3D'TABLE';
TABLE_NAME                     COLUMN_NAME                    DEFAULT_LENGT=
H------------------------------ ------------------------------ ------------=
--TABLE            PARTNER_IDTABLE            EMAIL_ADDRESSTABLE           =
 START_DATE                                                22TABLE         =
   MARKETING_PREFERENCES_FLAGTABLE            END_DATE                     =
                               22TABLE            SOURCE
6 rows selected.
> select table_name, column_name , default_length from user_tab_columns whe=
re table_name =3D'TABLE';
TABLE_NAME                     COLUMN_NAME                    DEFAULT_LENGT=
H------------------------------ ------------------------------ ------------=
--TABLE            PARTNER_IDTABLE            EMAIL_ADDRESSTABLE           =
 START_DATE                                                  27TABLE       =
     MARKETING_PREFERENCES_FLAGTABLE            END_DATE                   =
                                   27TABLE            SOURCE
=20
thanks.
=20
_________________________________________________________________
With Windows Live for mobile, your contacts travel with you.
http://www.windowslive.com/mobile/overview.html?ocid=3DTXT_TAGLM_WL_Refresh=
_mobile_052008=

--_fd78e6b8-c31d-4b9b-bedd-b89bc04cc5ab_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class=3D'hmmessage'>
How can the same table in two different databases have a different<BR>DEFAU=
LT_LENGTH&nbsp; for the DATE datatype? One database is dev and the other<BR=
>is UAT.&nbsp; Both databases are on the same server and same oracle home 1=
0.2.0.3.0 EE.<BR>
&nbsp;<BR>
&nbsp;<BR>
<BR>&gt; select table_name, column_name , default_length from user_tab_colu=
mns where table_name =3D'TABLE';<BR>
TABLE_NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLUMN_NAME&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DEFAULT_LENGTH<BR>-------------------------=
----- ------------------------------ --------------<BR>TABLE&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PARTNER_ID<BR>TABLE&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp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gt; select table_name, column_name , default_length from user_tab_colu=
mns where table_name =3D'TABLE';<BR>
TABLE_NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLUMN_NAME&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DEFAULT_LENGTH<BR>-------------------------=
----- ------------------------------ --------------<BR>TABLE&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PARTNER_ID<BR>TABLE&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EMAIL_ADDRES=
S<BR>TABLE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
; START_DATE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp; 27<BR>TABLE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; MARKETING_PREFERENCES_FLAG<BR>TABLE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END_DATE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 27<BR>TABLE=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SOURCE<B=
R>
&nbsp;<BR>
thanks.<BR>
<BR>&nbsp;<BR><br /><hr />With Windows Live for mobile, your contacts trave=
l with you. <a href=3D'http://www.windowslive.com/mobile/overview.html?ocid=
=3DTXT_TAGLM_WL_Refresh_mobile_052008' target=3D'_new'>Connect on the go.</=
a></body>
</html>=

--_fd78e6b8-c31d-4b9b-bedd-b89bc04cc5ab_--
--
http://www.freelists.org/webpage/oracle-l


