 EXEC P_ALTERPK 'PK_T_LIC_STANDDEVCONFIG_BACK', 'T_LIC_STANDDEVCONFIG_BACK', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_LIC_STDDEVCONFIG_BACK_APP') CREATE INDEX IDX_LIC_STDDEVCONFIG_BACK_APP ON T_LIC_STANDDEVCONFIG_BACK ( FBIZAPPID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_LIC_STDDEVCONFIG_BACK_ENT') CREATE INDEX IDX_LIC_STDDEVCONFIG_BACK_ENT ON T_LIC_STANDDEVCONFIG_BACK ( FENTITYTYPEID );
