/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\SYS_constraint.sql **/
EXEC p_DropIdx 'IDX_BAS_USERCONFIG', 'T_BAS_USERCONFIG';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BAS_USERCONFIG_U') CREATE INDEX IDX_BAS_USERCONFIG_U ON T_BAS_USERCONFIG ( FUSERID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BAS_USERCONFIG_K') CREATE INDEX IDX_BAS_USERCONFIG_K ON T_BAS_USERCONFIG ( FKEY );


/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\SYS_constraint.sql **/
