checking the validity of date data
kumar73May 5 2011 — edited May 5 2011Hello Friends ,
I have a date value for a filed x as - 06/16/2009 ( mm/dd/yyyy ) and I am converting to
TO_DATE(TO_CHAR(x),'MM/DD/YYYY') and storing in date type of variable field.
I want to check the date and the condition is if its invalid date , i got to store null value .
Please let me know how to validate this date ? or how to check that the date is invalid ?
thanks/kumar