- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Oracle Date 10000-01-01
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2004 05:10 PM
09-22-2004 05:10 PM
According I knew, Oracle date range is between -4713 and +9999.
Is it possible that Oracle store the vaule : 10000/1/1 of date format in Oracle
Database.
Becuase I saw this value in my data using DBA Studio.
and my application insert this kinds of value into Oracle Database.
From Databse, I got this vaule(10000/1/1) from table field of date format.
Oracle Version : 8.0,5
Thanks & Regards.
K.Y
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2004 05:44 PM
09-22-2004 05:44 PM
Re: Oracle Date 10000-01-01
if question=oracle
exec metalink.oracle.com
fi
MB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2004 05:56 PM
09-22-2004 05:56 PM
Re: Oracle Date 10000-01-01
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2004 08:32 PM
09-22-2004 08:32 PM
Re: Oracle Date 10000-01-01
metalink according to note:217143.1, says
date datatype:
range from January 1, 4712 BC to December 31, 9999 AD
the cases that you might have observed is most probably a BUG!
hope this helps!
regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2004 08:45 PM
09-22-2004 08:45 PM
Re: Oracle Date 10000-01-01
I'm not sure to understand your question but there is no way that you can get this value for the year (at least on a 8.0.5). Because you cannot insert this kind of value, you also cannot get one.
For better understanding, see the explanation for the following error:
"ORA-01841: (full) year must be between -4713 and +9999
Cause: A date specified a year that is not in the valid date range. A valid date is any date between January 1, 4712 B.C. and December 31, 4712 A.D.
Action: Enter a valid date value between 4712 B.C. and 4712 A.D."
Best Regards,
Eric Antunes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2004 03:51 PM
09-23-2004 03:51 PM
Re: Oracle Date 10000-01-01
Actually, this kinds of value really exist.
and It's not a bog of Oracle.
Please check the attachment...
Regards.
K.Y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2004 06:09 PM
09-23-2004 06:09 PM
Re: Oracle Date 10000-01-01
still looking like a bug in the tool you are using to query the data.
can you post the output of:
select max(t$exdt) from ttiedm100886;
regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2004 06:44 PM
09-23-2004 06:44 PM
Re: Oracle Date 10000-01-01
select max(t$exdt) from ttiedm100886 ;
output data is : 2099/12/31
...
else
Can you give me a sample syntax to export a Table structure and data.
and I will post it to this thread.
K.Y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2004 07:10 PM
09-23-2004 07:10 PM
Re: Oracle Date 10000-01-01
Please check following sql and result,
SQL> select min(t$exdt) from baan.ttiedm100886;
MIN(T$EXDT)
------------
01-JAN-99
SQL> select max(t$exdt) from ttiedm100886;
MAX(T$EXDT)
------------
31-DEC-99
SQL> select min(to_char(T$EXDT, 'YYYY/MM/DD')) from ttiedm100886;
MIN(TO_CHA
----------
0000/00/00
K.Y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2004 08:26 PM
09-23-2004 08:26 PM
Re: Oracle Date 10000-01-01
can you post the SQLPLUS output of:
describe ttiedm100886
The last sql output look really intriguing!
thanks
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2004 08:49 PM
09-23-2004 08:49 PM
Re: Oracle Date 10000-01-01
Go to the dirctory where you want your export file, in DOS and execute:
exp80 userid=
In fact the min value for t$exdt is very strange...
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2004 08:51 PM
09-23-2004 08:51 PM
Re: Oracle Date 10000-01-01
select min(t$exdt) from ttiedm100886;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2004 09:05 PM
09-23-2004 09:05 PM
Re: Oracle Date 10000-01-01
I already export table structure and data, Please check the attachment...
Following is Log
--------------------------------------------
Connected to: Oracle8 Enterprise Edition Release 8.0.5.0.1 64bit - Production
With the Partitioning and Objects options
PL/SQL Release 8.0.5.0.0 - Production
Export done in ZHT32EUC character set and ZHT32EUC NCHAR character set
About to export specified tables via Conventional Path ...
. . exporting table TTIEDM100886 93 rows exported
Export terminated successfully without warnings.
--------------------------------------------
Regards.
K.Y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2004 11:05 PM
09-23-2004 11:05 PM
Re: Oracle Date 10000-01-01
I can't import your table because of the different character set...
Show me the result of:
select min(to_char( t$exdt, 'DD-MM-RRRR')) from ttiedm100886;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2004 01:25 PM
09-28-2004 01:25 PM
Re: Oracle Date 10000-01-01
SQL> select min(to_char(t$exdt,'DD-MM-RRRR'))
2 from ttiedm100886;
MIN(TO_CHA
----------
00-00-0000
K.Y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2004 11:10 PM
09-28-2004 11:10 PM
Re: Oracle Date 10000-01-01
Post the results of the following queries from SQL*Plus:
select to_char(min( t$exdt), 'YYYY') from ttiedm100886;
select to_char(min( t$exdt), 'MON') from ttiedm100886;
select to_char(min( t$exdt), 'MM') from ttiedm100886;
select to_char(min( t$exdt), 'DD') from ttiedm100886;
select to_char(min( t$exdt), 'HH:MI:SS') from ttiedm100886;
select to_char(min( t$exdt), 'HH24:MI:SS') from ttiedm100886;
select to_char(min( t$exdt), 'HH') from ttiedm100886;
select to_char(min( t$exdt), 'MI') from ttiedm100886;
select to_char(min( t$exdt), 'SS') from ttiedm100886;
Usually, these kind of issues end up being related to data being entered through some 3rd party application which for some reason does something strange to the date data to cause the error. Is this your case?
Best Regards,
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2004 01:44 PM
09-29-2004 01:44 PM
Re: Oracle Date 10000-01-01
the following result as your script...
select to_char(min( t$exdt), 'YYYY') from ttiedm100886;
TO_C
----
0000
select to_char(min( t$exdt), 'MON') from ttiedm100886;
TO_CHA
------
000
select to_char(min( t$exdt), 'MM') from ttiedm100886;
TO
--
00
select to_char(min( t$exdt), 'DD') from ttiedm100886;
TO
--
00
select to_char(min( t$exdt), 'HH:MI:SS') from ttiedm100886;
TO_CHAR(
--------
00:00:00
select to_char(min( t$exdt), 'HH24:MI:SS') from ttiedm100886;
TO_CHAR(
--------
00:00:00
select to_char(min( t$exdt), 'HH') from ttiedm100886;
TO
--
00
select to_char(min( t$exdt), 'MI') from ttiedm100886;
TO
--
00
select to_char(min( t$exdt), 'SS') from ttiedm100886;
TO
--
00
-----------------------------------------
Yes, My agent application process this strange date by itself, and I want to know how it did. But application's company don't want to tell me how it did. So I just can find the solution by myself.
Maybe you or discuss's man have some ideas which can find the solution.
Thanks & Regards.
K.Y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2004 08:57 PM
09-29-2004 08:57 PM
SolutionYour primary concern should be to correct the data: tell application's company that if they don't want to tell you where the program is doing this, they'll need at least to correct this zero date(s) to the correct(s) value(s).
Eric Antunes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 03:18 AM
10-06-2004 03:18 AM