• demonfox (1/28/2013)


    I don't think, it works like that ; BIT datatype stores only 1,0 or NULL ; (True/False goes as 1 /0). even inserting 7777777 or -1 gets inserted as 1 .

    As demonfox said, any integer value other than 0 will be stored as 1. There is no reference in MSDN to prove given value will be converted to binary and then it will be truncated.

    Is this the internal behaviour of sql server?

    --
    Dineshbabu
    Desire to learn new things..