/**Begin D:\pdm\PDM_UPGRADE_1.1\PDM_UPGRADE\pdm1\SIM_constraint.sql **/
 EXEC P_ALTERPK 'PK_SIM_RISK_RECORD', 'T_SIM_RISK_RECORD', 'FID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SIM_RISK_RECORD_BILLNO') CREATE INDEX IDX_SIM_RISK_RECORD_BILLNO ON T_SIM_RISK_RECORD ( FBILLNO );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SIM_RISK_RECORD_BIZNO') CREATE  CLUSTERED INDEX IDX_SIM_RISK_RECORD_BIZNO ON T_SIM_RISK_RECORD ( FBIZNO );



/**End D:\pdm\PDM_UPGRADE_1.1\PDM_UPGRADE\pdm1\SIM_constraint.sql **/
