这个因为你使用了varchar+int ,但是print只支持一种类型的输出,你要么通过转换函数将@no转换成字符类型,要么去掉@name。print '李勇' + convert(varchar, @no);
转载于:https://www.cnblogs.com/fer-team/p/7655782.html
这个因为你使用了varchar+int ,但是print只支持一种类型的输出,你要么通过转换函数将@no转换成字符类型,要么去掉@name。print '李勇' + convert(varchar, @no);
转载于:https://www.cnblogs.com/fer-team/p/7655782.html