Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Oracle only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
Oracle
In correct date format
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
orajit
New Member
Join Date:
Nov 2007
Posts:
75
#1
In correct date format
Mar 31 '08, 05:05 AM
Could you Please tell me how to handle incorrect date format exception in pl sql exception section.
debasisdas
Recognized Expert
Expert
Join Date:
Dec 2006
Posts:
8119
#2
Mar 31 '08, 05:43 AM
how are you passingthe date ?
Comment
Post
Cancel
orajit
New Member
Join Date:
Nov 2007
Posts:
75
#3
Mar 31 '08, 05:49 AM
date format is
eg:- to_date('121220 08','ddmmyyyy')
If there is some error in date formate means month,date or complete date format is not proper then it should give me an error.
My query is how to handle that exception in Exception block.
Thanks in advance.
Comment
Post
Cancel
debasisdas
Recognized Expert
Expert
Join Date:
Dec 2006
Posts:
8119
#4
Mar 31 '08, 06:26 AM
Capture the error number and handle that using
PRAGMA EXCEPTION_INIT
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment