works for me:declare @t1 table (id1 int identity(1,1) primary key, bleh char(50) not null)declare @t2 table (id2 int identity(1,1) primary key, blah char(13) not null)insert @t2(blah)select 'abcdefghijklm' union allselect '1111111111111' union allselect '2222222222222'insert @t1(bleh)select 'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwx' union allselect '11111111111111111111111111111111111111111111111111' union allselect '22222222222222222222222222222222222222222222222222' union allselect '1111111111111' union allselect '2222222222222'update A set bleh = 'something'from @t1 Ainner join @t2 Bon A.bleh = B.blahselect * from @t1-- results are:1 abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwx2 111111111111111111111111111111111111111111111111113 222222222222222222222222222222222222222222222222224 something 5 something
elsasoft.org