 EXEC p_AlterPK 'PK_BD_WAREHOUSECLASSIFY', 'T_BD_WAREHOUSECLASSIFY', 'FID', '1';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_BD_WAREHOUSECLASSIFY' AND KSQL_INDNAME = 'IDX_BD_WAREHOUSECLASSIFY_NUM')
 CREATE INDEX IDX_BD_WAREHOUSECLASSIFY_NUM ON T_BD_WAREHOUSECLASSIFY (FNUMBER );


 EXEC p_AlterPK 'PK_BD_WAREHOUSECLASSIFY_L', 'T_BD_WAREHOUSECLASSIFY_L', 'FPKID', '1';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_BD_WAREHOUSECLASSIFY_L' AND KSQL_INDNAME = 'IDX_BD_WAREHOUSECLASSIFY_L')
 CREATE INDEX IDX_BD_WAREHOUSECLASSIFY_L ON T_BD_WAREHOUSECLASSIFY_L (FLOCALEID ,FID );


