sqlserver 修改字段类型,同表查询重复记录sql语句

ALTER TABLE User ALTER COLUMN name varchar(150)
select * from leepay_GameSeries where [Name] in (select [Name] from leepay_GameSeries group by [Name] having count([Name])>1)

你可能感兴趣的:(sqlserver 修改字段类型,同表查询重复记录sql语句)