/**Begin D:\PDM_UPGRADE\PDM1\FA_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_FA_UPGRADED_ASSETBOOK', 'T_FA_UPGRADED_ASSETBOOK', 'FID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'T_FA_UPGRADED_ASSETBOOK_IDX') CREATE  CLUSTERED INDEX T_FA_UPGRADED_ASSETBOOK_IDX ON T_FA_UPGRADED_ASSETBOOK ( FPURPOSE ,FORGID ,FDEPREUSEID );



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