![]() |
|
Archives of the TeradataForumMessage Posted: Tue, 27 Nov 2012 @ 11:21:39 GMT
Prasanna, Thanks but, the thing is that this table is a simplify version of the real one, and it's already partitioned. Something like this:
CREATE MULTISET TABLE FINA_BORRAR ,NO FALLBACK ,
NO BEFORE JOURNAL,
NO AFTER JOURNAL,
CHECKSUM = DEFAULT
(
id_temporada SMALLINT,
id_temporada_movimiento SMALLINT,
id_tienda INTEGER NOT NULL,
val_acum INTEGER COMPRESS (1 ,2 ,3 ,4 ,5 ,6 ,-4 ,-3 ,-2 ,-1 ),
fec_inicio_vigencia DATE FORMAT 'YYYYMMDD' NOT NULL,
fec_fin_vigencia DATE FORMAT 'YYYYMMDD' NOT NULL)
UNIQUE PRIMARY INDEX ( fec_inicio_vigencia )
PARTITION BY ( RANGE_N(id_temporada BETWEEN -1 AND 100 EACH 1 ),
RANGE_N(id_temporada_movimiento BETWEEN -1 AND 100 EACH 1 ) );
I cannot add another "partition by" cause exceed the number of partitions allowed. Any other idea? Thanks a lot. FINA RODRIGUEZ POSADA
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||