|
|
Archives of the TeradataForum
Message Posted: Mon, 02 Apr 2001 @ 21:09:08 GMT
Subj: | | Re: Derived Table in Macro |
|
From: | | Thopay Sudarsan |
Update
(i) DDL
CREATE SET TABLE RefDB.FinanceBank ,NO FALLBACK ,
NO BEFORE JOURNAL,
NO AFTER JOURNAL
(
Bank_Nbr DECIMAL(3,0) FORMAT 'zz9' NOT NULL,
Bank_Name VARCHAR(30) CHARACTER SET LATIN NOT CASESPECIFIC NOT NULL,
Capt_Dt DATE FORMAT 'yyyymmdd' NOT NULL)
UNIQUE PRIMARY INDEX ( Bank_Nbr ,Capt_Dt );
CREATE SET TABLE RefDB.MarketingBank ,NO FALLBACK ,
NO BEFORE JOURNAL,
NO AFTER JOURNAL
(
Bank_Nbr DECIMAL(3,0) FORMAT 'zz9' NOT NULL,
Bank_Name VARCHAR(30) CHARACTER SET LATIN NOT CASESPECIFIC NOT NULL,
Capt_Dt DATE FORMAT 'yyyymmdd' NOT NULL)
UNIQUE PRIMARY INDEX ( Bank_Nbr ,Capt_Dt );
(ii) Sytem Level : V2R3
(iii) Both of them have less than 150 rows each.
Thanks
| |