/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\XML\branch_1.5.23\SYS_Constraint.sql **/
 

/**start Add by ycg **/
 EXEC P_ALTERPK 'PK_BAS_FONTMANAGEMENT', 'T_BAS_FONTMANAGEMENT', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BAS_FONTMANAGEMENT') CREATE INDEX IDX_BAS_FONTMANAGEMENT ON T_BAS_FONTMANAGEMENT ( FNUMBER );


 EXEC P_ALTERPK 'PK_BAS_FONTMANAGEMENT_L', 'T_BAS_FONTMANAGEMENT_L', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BAS_FONTMANAGEMENT_L') CREATE UNIQUE INDEX IDX_BAS_FONTMANAGEMENT_L ON T_BAS_FONTMANAGEMENT_L ( FID ,FLOCALEID );

/**end Add by ycg **/

/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\XML\branch_1.5.23\SYS_Constraint.sql **/

