/**Begin D:\PDM_UPGRADE\PDM1\EB_table.sql **/

 EXEC P_ALTERPK 'PK_T_EB_DATABIZMODEL', 'T_EB_DATABIZMODEL', 'FENTRYID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_EB_DATABIZMODEL_FID') CREATE INDEX IDX_EB_DATABIZMODEL_FID ON T_EB_DATABIZMODEL ( FID );

 EXEC P_ALTERPK 'PK_T_EB_BIZMODEL', 'T_EB_BIZMODEL', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_EB_BIZMODEL_MODEL') CREATE INDEX IDX_EB_BIZMODEL_MODEL ON T_EB_BIZMODEL ( FMODELID );

 EXEC P_ALTERPK 'PK_T_EB_DATETYPETODIM', 'T_EB_DATETYPETODIM', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_EB_DATETYPETODIM_MODEL') CREATE INDEX IDX_EB_DATETYPETODIM_MODEL ON T_EB_DATETYPETODIM ( FMODELID );
 
/**End D:\PDM_UPGRADE\PDM1\EB_table.sql **/
