|
- update bi_t_item_info set item_name = REPLACE(item_name,CHAR(10),'') where CHARINDEX(CHAR(10),item_name) > 0
- update bi_t_item_info set item_name = REPLACE(item_name,CHAR(9),'') where CHARINDEX(CHAR(9),item_name) > 0
- update bi_t_item_info set item_name = REPLACE(item_name,CHAR(13),'') where CHARINDEX(CHAR(13),item_name) > 0
- update bi_t_item_info set barcode = REPLACE(barcode,CHAR(10),'') where CHARINDEX(CHAR(10),barcode) > 0
- update bi_t_item_info set barcode = REPLACE(barcode,CHAR(9),'') where CHARINDEX(CHAR(9),barcode) > 0
- update bi_t_item_info set barcode = REPLACE(barcode,CHAR(13),'') where CHARINDEX(CHAR(13),barcode) > 0
- update bi_t_item_info set item_subno = REPLACE(item_subno,CHAR(10),'') where CHARINDEX(CHAR(10),item_subno) > 0
- update bi_t_item_info set item_subno = REPLACE(item_subno,CHAR(9),'') where CHARINDEX(CHAR(9),item_subno) > 0
- update bi_t_item_info set item_subno = REPLACE(item_subno,CHAR(13),'') where CHARINDEX(CHAR(13),item_subno) > 0
- update bi_t_item_smbarcode set barcode = REPLACE(barcode,CHAR(10),'') where CHARINDEX(CHAR(10),barcode) > 0
- update bi_t_item_smbarcode set barcode = REPLACE(barcode,CHAR(9),'') where CHARINDEX(CHAR(9),barcode) > 0
- update bi_t_item_smbarcode set barcode = REPLACE(barcode,CHAR(13),'') where CHARINDEX(CHAR(13),barcode) > 0
- select card_inid,* from pos_t_vip_info where card_id='0008500'
- select * from pos_t_vip_flow where card_id='0000005'
- select * from pos_t_vip_info_more where card_id='0000005'
- update pos_t_vip_info set card_id = REPLACE(card_id,CHAR(9),'') where CHARINDEX(CHAR(9),card_id) > 0
- update pos_t_vip_info set card_inid = REPLACE(card_inid,CHAR(9),'') where CHARINDEX(CHAR(9),card_inid) > 0
- update pos_t_vip_flow set card_id = REPLACE(card_id,CHAR(9),'') where CHARINDEX(CHAR(9),card_id) > 0
- update pos_t_vip_info_more set card_id = REPLACE(card_id,CHAR(9),'') where CHARINDEX(CHAR(9),card_id) > 0
复制代码
|
|