|
Archives of the TeradataForumMessage Posted: Wed, 18 Apr 2012 @ 15:35:48 GMT
<-- Anonymously Posted: Wednesday, April 18, 2012 07:29 --> Hi Experts, Could Someone help me in casting the date in below query. SELECT CAST(070401 AS DATE FORMAT 'YYYY-MM-DD') and the Output is 1907-04-01. But I expect the result of 2007-04-01. how to achieve it?
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||