|
|
Archives of the TeradataForum
Message Posted: Wed, 05 May 2004 @ 18:46:44 GMT
Subj: | | Re: Compressing a date column |
|
From: | | Dieter Noeth |
Craig E Cooper wrote:
| I can not seem to get the syntax correct for this compression. I tried: | |
LOAD_DATE DATE FORMAT 'yyyy/mm/dd'
COMPRESS('2004/02/05','2004/02/10','2004/02/12','2004/02/11','2004/03/09
'),
| And the same thing without the slashes and neither work. Is DATE compressible? | |
You must specify ANSI dates regardless of the Format:
LOAD_DATE DATE FORMAT 'yyyy/mm/dd'
COMPRESS(date '2004-02-05', date '2004-02-10', ...
Dieter
| |