1、使用cast‘’+cast(@ID as varchar) 2、使用LTrim‘’+LTrim(@ID) 感觉第二种方式代码简单,但是可读性不好。来源:https://www.cnblogs.com/zhaogaojian/p/11349344.html 标签 sqlserver