一种方式,也适用于负值 declare @1 decimal(4,3) select @1 = 2.938 select PARSENAME(@1,1) 原文由 SQLMenace 发布,翻译遵循 CC BY-SA 2.5 许可协议
一种方式,也适用于负值