![]() |
|
Archives of the TeradataForumMessage Posted: Fri, 26 Mar 2004 @ 10:54:16 GMT
Hi Manish, Alternatively for extracting individual fields you can use the 'EXTRACT' function.
Eg: select extract(day from c1) from testdatetime;
select extract(month from c1) from testdatetime;
select extract(year from c1) from testdatetime;
-Vishal.
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||