i have following example:create table #int(id int identity(1,1),num tinyint);GOinsert into #int (num)select 1;go 100select * from #intcreate table #t(id int identity(1,1),te varchar(10));GOinsert into #t (te)select '1111' union allselect '2222' union allselect '3333' union allselect '4444'
and i want to have result expected as:id te--------1 11112 22223 33334 44445 11116 22227 33338 44449 111110 222211 3333...there should be a simple solution. but just can't remember it know :(