logo

Warning: The forum is now for consultation only. Please use GitHub Discussions to post any questions or comments.


Welcome Guest ! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
avoolapati  
#1 Posted : Thursday, November 12, 2015 11:20:38 AM(UTC)
avoolapati

Rank: Newbie

Groups: Registered
Joined: 11/9/2015(UTC)
Posts: 5
India
Location: hyderabad

Thanks: 1 times
I was using oracle connection and converted date time field as

to_date(to_char(DIVAL.INDATE, 'dd-mon-yy')) AND DATE TYPE AD 'date & time'

while checking column values it is showing as below

8/15/0008 12:00 AM
8/15/0008 12:00 AM
8/15/0009 12:00 AM
8/15/0009 12:00 AM
8/15/0009 12:00 AM
9/15/0024 12:00 AM
9/15/0027 12:00 AM
10/15/0001 12:00 AM


Ex: it shoud be 8/08/2015 12:00 AM

While executing views it is taking input date in mm-dd-yyyy FORMAT.So i am not getting any records between given data.Please help me.
epf  
#2 Posted : Friday, November 13, 2015 11:15:40 AM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 1,209
Switzerland

Thanks: 14 times
Was thanked: 206 time(s) in 199 post(s)
I don't know, it looks like your conversion is incorrect, can you check it ?
I do not understand the syntax: AND DATE TYPE AD
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.