-- insert 4 records: 1 with a fullblown linebreak -- 2 with rubbish linebreaks and one - no break at all insert into dbo.test(testfield) values ('word test'), ('word' + char(13) + 'test'), ('word' + char(13) + char(10 )+ 'test'), ('word' + char(10 )+ 'test'); -- this returns 4 records declare @z varchar(20) = '"word' + char(13) + char(10) + 'test"'; select * from test where contains(testfield, @z); -- this returns 4 records, so the breaks are indeed ignored set @z = '"word test"'; select * from test where contains(testfield, @z); -- no records returned (as expected) set @z = '"wordtest"'; select * from test where contains(testfield, @z); go -- the results of first 2 statements: recordID testfield ----------- --------- 1 word test 2 word test 3 word test 4 word test
No one has followed this question yet.