Re: Don't Understand Error Message (Database)
- From: "Jonathan Wood" <jwood@xxxxxxxxxxxxxxxx>
- Date: Sun, 13 Jan 2008 13:37:36 -0700
ThatsIT.net.au,
For the reasons I gave in the post you're replying to. And, for me, a better question would be "why change them to bits?"
Why change to byte?
Because that is the smallest integer possible. And it also happens to be the smallest field size as well.
No that not correct, a bit uses a bit, 1/8th of a byte. if you have another Boolean record to keep your ahead. In your case that may not be so, but I would say that most of the time one would.
It would be 1 bit field. That's 8 bits. It's not the same as 1/8th of a byte.
As it said the explanation I posted it is still better to use a bit as you may need to add another bit field later
In fact, I could have up to 8 with the same storage. Big deal. With an integer value stored in a byte, I could have up to 256 different values.
I already explained why using an integer was more straight forward. If you got what I said, then you know the reason. If you didn't, then we're probably just wasting time.
--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
.
- Follow-Ups:
- Re: Don't Understand Error Message (Database)
- From: ThatsIT.net.au
- Re: Don't Understand Error Message (Database)
- References:
- Don't Understand Error Message (Database)
- From: Jonathan Wood
- Re: Don't Understand Error Message (Database)
- From: Mark Rae [MVP]
- Re: Don't Understand Error Message (Database)
- From: Jonathan Wood
- Re: Don't Understand Error Message (Database)
- From: Mark Rae [MVP]
- Re: Don't Understand Error Message (Database)
- From: Jonathan Wood
- Re: Don't Understand Error Message (Database)
- From: Mark Rae [MVP]
- Re: Don't Understand Error Message (Database)
- From: Jonathan Wood
- Re: Don't Understand Error Message (Database)
- From: Mark Rae [MVP]
- Re: Don't Understand Error Message (Database)
- From: Jonathan Wood
- Re: Don't Understand Error Message (Database)
- From: Mark Rae [MVP]
- Re: Don't Understand Error Message (Database)
- From: Jonathan Wood
- Re: Don't Understand Error Message (Database)
- From: Mark Rae [MVP]
- Re: Don't Understand Error Message (Database)
- From: Jonathan Wood
- Re: Don't Understand Error Message (Database)
- From: Mark Rae [MVP]
- Re: Don't Understand Error Message (Database)
- From: Jonathan Wood
- Re: Don't Understand Error Message (Database)
- From: Mark Rae [MVP]
- Re: Don't Understand Error Message (Database)
- From: Jonathan Wood
- Re: Don't Understand Error Message (Database)
- From: ThatsIT.net.au
- Re: Don't Understand Error Message (Database)
- From: Jonathan Wood
- Re: Don't Understand Error Message (Database)
- From: ThatsIT.net.au
- Don't Understand Error Message (Database)
- Prev by Date: Re: request, session and application 'not defined'?
- Next by Date: Re: request, session and application 'not defined'?
- Previous by thread: Re: Don't Understand Error Message (Database)
- Next by thread: Re: Don't Understand Error Message (Database)
- Index(es):
Relevant Pages
|