Loading ...
Sorry, an error occurred while loading the content.

Re: [SQLQueriesNoCode] SQL Server 2012 - Column value -1 or 0

Expand Messages
  • Mark E
    Boolean values in SQL server are 0 for false and 1 for true.  You can convert your values to match and then convert the field to the data type of boolean. 
    Message 1 of 2 , Mar 22, 2013
    • 0 Attachment
      Boolean values in SQL server are 0 for false and 1 for true.  You can convert your values to match and then convert the field to the data type of boolean.  Also, you could convert that field to a varchar and then compare it like  a string.

      Mark

      Sent from Yahoo! Mail on Android



      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.