title: SQL: Get value at index in binary value
body: <p>Is there a SQL command that could be used in a query, stored procedure, function, that would work against a Binary Type similar to the following C# code?</p>
  
  <pre><code>if (someBinaryArray[index] == 0) { 
  ...
  </code></pre>
  
  <p>I'm wanting to check if an index of a position in the binary is a certain value instead of pulling the entire array down and doing the comparison? </p>