Results 1 to 3 of 3

Thread: Bit Field Null?

  1. #1
    Join Date
    Jan 2003
    Posts
    1

    Bit Field Null?

    Stanley writes "Ok from what I know you can create a bit field but when doing so in Enterprise Manager you are not allowed to have a NULL value and if you have a column that you are trying to make into a Bit field you must put a value in each field or assign a default value. However a couple of my co-workers ran into an issue of almost every Bit field being set to accept NULL values. They should not be that way and no one seems to know what happened. Is there some bug or hack that can alter this? Is is possible for someone to script the change?"

  2. #2
    Join Date
    Jan 2003
    Location
    PHILIPPINES
    Posts
    1

    Re: Bit Field Null?

    Originally posted by darian1271
    Stanley writes "Ok from what I know you can create a bit field but when doing so in Enterprise Manager you are not allowed to have a NULL value and if you have a column that you are trying to make into a Bit field you must put a value in each field or assign a default value. However a couple of my co-workers ran into an issue of almost every Bit field being set to accept NULL values. They should not be that way and no one seems to know what happened. Is there some bug or hack that can alter this? Is is possible for someone to script the change?"
    Hi,
    You know I tried once in MS Access to have null value in my database.
    database will accept null values only if the field is not your PKey.

  3. #3
    Join Date
    Dec 2002
    Posts
    181
    Bit fields can be created to accept null values, though it defeats the purpose. They were more than likely created this way to begin with.


    Jeff

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •