/**Begin D:\PDM_UPGRADE\PDM1\TPO_constraint.sql **/
 EXEC P_ALTERPK 'PK_TPO_HISTORY_SBB', 'T_TPO_HISTORY_SBB', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_TPO_HISTORY_SBB' AND KSQL_INDNAME = 'IDX_TPO_HISOTRY_01') CREATE INDEX IDX_TPO_HISOTRY_01 ON T_TPO_HISTORY_SBB ( FBILLNO );



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