/**Begin D:\PDM_UPGRADE\pdm1\TCTB_constraint.sql **/
 EXEC P_ALTERPK 'PK_TCTB_TEMPLATE_FLOAT', 'T_TCTB_TEMPLATE_FLOAT', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_TCTB_TEMPLATE_FLOAT') CREATE INDEX IDX_TCTB_TEMPLATE_FLOAT ON T_TCTB_TEMPLATE_FLOAT ( FORGID ,FTYPE );


 EXEC P_ALTERPK 'PK_TCTB_TEMPLATE_FLOATSET', 'T_TCTB_TEMPLATE_FLOATSET', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_TCTB_TEMPLATE_FLOATSET') CREATE INDEX IDX_TCTB_TEMPLATE_FLOATSET ON T_TCTB_TEMPLATE_FLOATSET ( FBASETEMPLATEID );



/**End D:\PDM_UPGRADE\pdm1\TCTB_constraint.sql **/
