Don't know if it is something special about SQL 2000, but on my SQL 2005, both of these work:create table #tmp (data varchar(31));insert into #tmp values ('x x'); -- here i am typing in a tab in SSMS.insert into #tmp values ('y'+char(9)+'y');select data,len(data),cast(data as varbinary) from #tmp;update #tmp set data = replace(data,' ','') where data like 'x%' -- here I am typing a tab in SSMSupdate #tmp set data = replace(data,char(9),'') where data like 'y%'select data,len(data),cast(data as varbinary) from #tmp;drop table #tmp;