/**Begin D:\pdm\PDM_UPGRADE1\PDM1\HDM_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_HDM_UPGRADERECORD', 'T_HDM_UPGRADERECORD', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_HDM_UPGRADERECORD' AND KSQL_INDNAME = 'IDX_HDM_UPGRADE_SYSUSER') CREATE INDEX IDX_HDM_UPGRADE_SYSUSER ON T_HDM_UPGRADERECORD ( FSYSUSERID );



/**End D:\pdm\PDM_UPGRADE1\PDM1\HDM_constraint.sql **/
