Quantcast
Channel: SCN : All Content - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 4013

IS_VALID_DATE function

$
0
0

Hi,

 

I am using IS_VALID_DATE function to validate the date. The date input is in varchar.

 

When I use below validation rule its considering input value 20140550 as valid date instead of Invalid date.

 

(is_valid_date(to_date(Case_Valid.StatusDate,'YYYYMMDD'), 'YYYY.MM.DD') = 1)

 

Any idea where I am doing wrong. Appreciate your help.

 

Thanks,

Pandu


Viewing all articles
Browse latest Browse all 4013

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>