/**Begin D:\PDM_UPGRADE\PDM1\HDM_constraint.sql **/
 EXEC P_ALTERPK 'PK_HDM_TRANSFERCLASSIFY', 'T_HDM_TRANSFERCLASSIFY', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HDM_TRARCLASSIFY_NUMBER') CREATE INDEX IDX_HDM_TRARCLASSIFY_NUMBER ON T_HDM_TRANSFERCLASSIFY ( FNUMBER );


 EXEC P_ALTERPK 'PK_HDM_TRANSFERCLASSIFY_L', 'T_HDM_TRANSFERCLASSIFY_L', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HDM_TRANSFERCLASSIFY_L') CREATE INDEX IDX_HDM_TRANSFERCLASSIFY_L ON T_HDM_TRANSFERCLASSIFY_L ( FID ,FLOCALEID );

/**End D:\PDM_UPGRADE\PDM1\HDM_constraint.sql **/
