![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 14 Apr 2010 @ 11:45:31 GMT
Hi , I want to display date value in format yyyy-mm-dd I tried using Cast function but it didn't worked , any help will be highly appreciable. My query,
SELECT top 10 CAST((createdate (FORMAT 'yyyy-mm-dd')) AS DATE)
FROM dbc.rcevent
I tried with timestamp but it gives seconds too with date . Regards, Rehman Ansari
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||