16,553
社区成员
发帖
与我相关
我的任务
分享
select @@version
/*
Microsoft SQL Server 2005 - 9.00.3042.00 (Intel X86)... Developer Edition on Windows NT 5.1 (Build 2600: Service Pack 3)
*/
select top 100 id=identity(int,1,1),aa='' into # from sysobjects
select * from #
update # set aa='today' where id=1
/*
error:
消息 8152,级别 16,状态 14,第 1 行
将截断字符串或二进制数据。
语句已终止。
*/
update # set aa='t' where id=1
/*
(1 行受影响)
*/