To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here

HOME News MS SQL Oracle DB2 Access MySQL PHP Scripts Books Links DBA Talk


Go Back   Database Journal Forums > Miscellaneous > General Database Discussions

General Database Discussions Discuss any database topic not covered in any other forum on this site

Reply Post New Thread
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 01-22-2003, 10:27 PM
darian1271 darian1271 is offline
Junior Member
 
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?"
Reply With Quote
  #2  
Old 01-27-2003, 02:01 AM
Arwen_04(EA) Arwen_04(EA) is offline
Junior Member
 
Join Date: Jan 2003
Location: PHILIPPINES
Posts: 1
Re: Bit Field Null?

Quote:
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.
Reply With Quote
  #3  
Old 01-28-2003, 11:15 AM
JBane JBane is offline
Registered User
 
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
Reply With Quote
Reply Post New Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:56 AM.


DatabaseJournal Recent Articles


 » Preparing To Upgrade Access Tables to SQL ...

 » Microsoft Windows PowerShell and SQL Serve...

 » New MySQL Enterprise with Query Analyzer B...

 » Quest Software Strengthens Committment to ...

 » Oracle Unveils New Event-Driven Middleware...

Search Database Journal:
 





Acceptable Use Policy

JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.