TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Riddhi Valecha
441
3.3k
413.1k
Date Function in Oracle - URGENT
Feb 24 2015 5:08 AM
Hi.....
I have a table like -
ID
Number
Date1
Date2
1
1234
1/27/2015 4:24:43 PM
1/27/2015 4:43:43 PM
2
1234
1/27/2015 4:24:43 PM
1/27/2015 4:43:43 PM
3
7894
1/27/2015 4:43:43 PM
1/27/2015 4:43:43 PM
4
9080
1/27/2015 4:43:43 PM
1/27/2015 4:43:43 PM
I have to make 2 functions -
1. Function - Return Date
IN_NUMBER varchar2
Query = select Date1 (in dd-mmm-yyyy) format where Number = IN_NUMBER
--------------
My Issue -
How do I get dates such that the time part is eliminated ?? I just want "27-JAN-2015" format for date columns.
-----
If I run the function using dual table, it says - 0 rows returned. But, the table has values.
Please help !
Reply
Answers (
6
)
Download the CSV file to my choosing path
installation