Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all, I have a Crystal Report which uses an Oracle database, one of the date columns is displaying 31-Dec-4000, I've checked the data with an Oracle IDE and the latest date in this column is 31-Dec-2017 so don't understand why I'm seeing this - any ideas ?

Edit

I've identified the dates that are showing the year 4000

31-AUG-00
31-DEC-00
30-DEC-00


Edit 2

I've looked at the data in SQL Developer now and that too shows the year as 4000 for the above dates

What I have tried:

Checked the data with an Oracle IDE and the latest date in this column is 31-Dec-2017
Posted
Updated 24-Oct-16 22:49pm
v3
Comments
Jörgen Andersson 25-Oct-16 4:46am    
Sounds like a conversion problem to me.
What datatype is the date column, is it Date?
Is there any business layer between CR and DB or is CR accessing the DB directly?
pkfox 25-Oct-16 4:51am    
Yes it's date and using default Oracle driver to connect it with CR, see my amended question
Kornfeld Eliyahu Peter 25-Oct-16 5:01am    
What are you saying that every 00 year (2000?) shows as 4000?
pkfox 25-Oct-16 5:16am    
Apologies to everyone the client I'm currently contracting for has just told me he set all of the records to 31-12-4000 ( it's and end date for a loan ) so that explains it - apols once more
Kornfeld Eliyahu Peter 25-Oct-16 5:22am    
Ah... you have a CLIENT!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900