hi,
i'm trying to use the AND operator between search conditions in a CONTAINS
predicate to search all columns of table 'categories' in database 'northwind'.
the following query returns 0 rows:
USE Northwind
GO
SELECT CategoryName
FROM Categories
WHERE CONTAINS( *, ' beers AND beverages' )
GO
while the following query returns 1 row:
USE Northwind
GO
SELECT CategoryName
FROM Categories
WHERE CONTAINS( *, ' beers') AND CONTAINS( *, 'beverages')
GO
Note that the value 'beverages' occurs in column 'categoryname' while the value
'beers' occurs in column 'Description'.
i know that this behaviour was confirmed a bug in sql server 7.0 (bug #:58135)
but was fixed in sp3.