![]() |
|
Archives of the TeradataForumMessage Posted: Tue, 08 Feb 2011 @ 13:19:36 GMT
If you are doing this in SQLA, you always get system default format for date. SQLA does not handle format very well. Try running in bteq mode.
select cast(current_timestamp as date FORMAT 'YYYYMMDD');
Kevin
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||