HiI have a very large program which includes a facility which allows users to search for a client based on a number of parameters they select.This has worked perfectly with SQL Server 7 and MSDE until we upgraded to SQL Server 2000.Query analyser returns results when connected to SQL Server 7, but returns no results when connected to SQL Server 2000. Both databases have the exact same data in them.SELECT tbl_patient.ClientID, tbl_patient.ID AS PatientID, tbl_client_title.Description AS Title, tbl_client.FirstName, tbl_client.Surname, tbl_client.Street, tbl_client.District, tbl_client.Town, tbl_client.PostCode, tbl_county.Description AS County, tbl_client.Email, tbl_patient.Colour, tbl_patient.IDChip, tbl_patient.Name, tbl_species.Description AS Species, tbl_breed.Description AS Breed From tbl_client LEFT OUTER JOIN tbl_patient ON (tbl_client.ID = tbl_patient.ClientID) INNER JOIN tbl_species ON (tbl_patient.SpeciesID = tbl_species.ID) INNER JOIN tbl_breed ON (tbl_patient.BreedID = tbl_breed.ID) INNER JOIN tbl_county ON (tbl_client.CountyID = tbl_county.ID) INNER JOIN tbl_client_title ON (tbl_client.TitleID = tbl_client_title.ID) WHERE (tbl_client.Surname LIKE 'bar%' OR tbl_client.PostCode LIKE '%bar%' OR tbl_patient.IDChip LIKE 'bar%' OR tbl_patient.Name LIKE 'bar%' ) ORDER BY surname
Are there incompatibilities between SQL Server 7 and SQL Server 2000?... or am I missing something?