title: How to determine if connected database is case-sensitive
body: <p>I need to determine programmatically (C#) if the connected database (could be either Oracle 11g or Sql Server 2008 onwards) has been set to be case-sensitive,  so I know when I compare two strings (one retrieved from the database, one entered by a user) whether to make a case-sensitive comparison or not. </p>
  
  <p>Is this possible, and if so, how do I do that?</p>
  
  <p>TIA</p>