In your query in query analyzer - Put this next to the case sensitive word that you querying
COLLATE SQL_Latin1_General_CP1_CS_AS
For Ex -
select * from EntryMain where customer = 'XXXxxxxXXXX' COLLATE SQL_Latin1_General_CP1_CS_AS
Here XXXxxxxXXXX is case sensitive.