The BIT data type

  • Richard Warr (3/30/2011)


    I tried running the code and an error message popped up saying

    "Your approach to SQL is wrong. BIT flags are things we left behind in assembly language. " 😉

    Really? If I have a need to store a value with only three possible values (0, 1, and NULL) why would I use a type other than BIT that would require more using extra storage space?

  • Good Question. i got my point. thx

    Thanks
    Vinay Kumar
    -----------------------------------------------------------------
    Keep Learning - Keep Growing !!!

  • Great!!!

    I completely miss the concept of BIT and make it wrong ... :hehe:

    __________________________________________
    ---------------------------------------------------
    Save our mother Earth. Go Green !!!

  • Nice tricky question. It gave me a chance to revisit the data types.

    Thank you.

Viewing 4 posts - 16 through 18 (of 18 total)

You must be logged in to reply to this topic. Login to reply