随笔分类 - SQL Server
摘要:update t1 set t1.BPTProductId=t2.BPTIdfrom Bas_ProductImageUrl t1join Bas_Products t2on t1.BPTBarCode=t2.BPTBarCode
阅读全文
摘要:select SUBSTRING( col, CHARINDEX('>', col)+1, LEN(col))from table
阅读全文
摘要:1.查询单列重复(table:表名,name 字段名): select * from table where name in (select name from table group by name having count(name) > 1) 2.查询多列重复(table:表名,name 字段
阅读全文

浙公网安备 33010602011771号