Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

extending MLPPI tables - response (1) by Raja_KT

$
0
0

AFAIK, it is not possible since it is populated table. However, you can think of or try to do thus:
Note: to be 100% sure, you can take backup of entire table, because I dont know the version of TD you work on.
 

CREATE TABLE old_table1 ( /*create backup only for the one you want*/

key1 INTEGER NOT NULL,

....)

UNIQUE PRIMARY INDEX (key1);

 

 

 

ALTER TABLE table1 /*your table */

MODIFY

DROP RANGE#L2 BETWEEN DATE 'xxxxx'

AND DATE 'yyyyy'

ADD RANGE#L2 BETWEEN DATE 201401 

AND DATE 201412 

EACH 1....

WITH INSERT INTO old_table1;

 

Cheers,

Raja


Viewing all articles
Browse latest Browse all 14773

Trending Articles