But how are you inserting this into the table? Im not following where the "\t" is being resolved into a Tab character.declare @test table (TestID int, TestCol varchar(20))insert into @test (TestID, TestCol) select 1, '1 2' -- 1<space>2 union all select 2, '1 2' -- 1<tab>2 union all select 3, '1' + CHAR(9) + '2' union all select 4, '\\dasf33!c$\t\='-- results to text to view differencesselect TestCol from @test-- remove tabselect replace(TestCol, char(9), '**')from @test
Nathan Skerl