/**Begin D:\PDM_UPGRADE\PDM1\EB_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_EB_SCENECURRENCYSCALE', 'T_EB_SCENECURRENCYSCALE', 'FENTRYID', '1';

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



 EXEC P_ALTERPK 'PK_EB_REPORTQUERY', 'T_EB_REPORTQUERY', 'FID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_EB_REPORTQUERY_FNUMBER') CREATE  CLUSTERED INDEX IDX_EB_REPORTQUERY_FNUMBER ON T_EB_REPORTQUERY ( FNUMBER );


 EXEC P_ALTERPK 'PK_EB_REPORTSHARE', 'T_EB_REPORTSHARE', 'FID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_EB_REPORTSHARE_FNUMBER') CREATE  CLUSTERED INDEX IDX_EB_REPORTSHARE_FNUMBER ON T_EB_REPORTSHARE ( FNUMBER );



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