By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0. 2555343 fiddles created (37437 in the last week).
create table t(foo varchar(10));
insert into t(foo) values('aaaaaaaaaaa');
Msg 2628 Level 16 State 1 Line 1
String or binary data would be truncated in table 'fiddle_746d2df4d5af4cacbd28a0377cbfc0fb.dbo.t', column 'foo'. Truncated value: 'aaaaaaaaaa'.
Msg 3621 Level 0 State 0 Line 1
The statement has been terminated.