INSERT INTO CC11 SELECT convert(nvarchar(30),convert(decimal(11,0),PCTID)),convert(nvarchar(30),convert(decimal(11,0),PCODE)) ,0 FROM CC1
--convert(nvarchar(30),convert(decimal(11,0),PCTID))
float 转换为 nvarchar
2024-04-07 19:40:33
INSERT INTO CC11 SELECT convert(nvarchar(30),convert(decimal(11,0),PCTID)),convert(nvarchar(30),convert(decimal(11,0),PCODE)) ,0 FROM CC1
--convert(nvarchar(30),convert(decimal(11,0),PCTID))
float 转换为 nvarchar