Archives of the TeradataForum
Message Posted: Thu, 19 Feb 2009 @ 14:03:40 GMT
Subj: | | Default display of date |
|
From: | | Anomy Anom |
<-- Anonymously Posted: Thu, 19 Feb 2009 19:29 -->
The following is my query:
SELECT
CAST(CURRENT_TIMESTAMP(0) AS DATE),
CAST(CAST(CURRENT_TIMESTAMP(0) AS DATE) AS TIMESTAMP(0));
The output is
Current TimeStamp(0) Current TimeStamp(0)
02/19/2009 2009-02-19 00:00:00
I want my output to be like this.
Current TimeStamp(0) Current TimeStamp(0)
2009-02-19 2009-02-19 00:00:00
Apart from using the format clause in select statement which setting in SQLAssistant should I change to achieve this?
|