troubleshooting Question

How to check if SQL Server db is case senstive

Avatar of TrialUser
TrialUserFlag for Afghanistan asked on
ASP.NETMicrosoft SQL Server 2005Microsoft SQL Server 2008
4 Comments4 Solutions393 ViewsLast Modified:
I have a coupld of tables that I join using a varchar column in my query. While executing the query in SQL the returned results seem to case insensitive. However whn I use LINQtoSQL to perform the same query in LINQ from aSP.net application it seems like the join condition was case sensitive.

1) I am wondering is LINQ to SQL case sensitive on joins - how can i check this
2) How can I make these joins case insensitive - either by changing a config in SQL or in LINQ.

Please help thanks
ASKER CERTIFIED SOLUTION
Rahul Agarwal
Team Leader

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 4 Answers and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 4 Answers and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros