你可以科协的整数字段为varchar,然后将它们连接起来,只要你想。
DECLARE @ID INT DECLARE @Number INTSET @ID = 101 SET @Number = 9SELECT CAST(@ID AS VARCHAr(10) ) +'.'+ CAST(@Number AS VARCHAr(10) )
欢迎分享,转载请注明来源:内存溢出
你可以科协的整数字段为varchar,然后将它们连接起来,只要你想。
DECLARE @ID INT DECLARE @Number INTSET @ID = 101 SET @Number = 9SELECT CAST(@ID AS VARCHAr(10) ) +'.'+ CAST(@Number AS VARCHAr(10) )
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)