/**Begin C:\Users\rd_zhixiong_w\Downloads\PDM_UPGRADE\PDM1\TBO_constraint.sql **/
 EXEC P_ALTERPK 'PK_TBO_PLINFO_E', 'T_TBO_PLINFO_E', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_TBO_PLINFO_E') CREATE INDEX IDX_TBO_PLINFO_E ON T_TBO_PLINFO_E ( FUPDATEDATE );


 EXEC P_ALTERPK 'PK_TBO_PLINFO_HISTORY', 'T_TBO_PLINFO_HISTORY', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_TBO_PLINFO_HISTORY') CREATE INDEX IDX_TBO_PLINFO_HISTORY ON T_TBO_PLINFO_HISTORY ( FPLBILLID );



/**End C:\Users\rd_zhixiong_w\Downloads\PDM_UPGRADE\PDM1\TBO_constraint.sql **/
