Re: Which field to use
- From: "Jamie Collins" <jamiecollins@xxxxxxxxxx>
- Date: 10 Nov 2006 04:47:18 -0800
Allen Browne wrote:
An IP address is a 4-byte numeric value. It is not a string, even if it is
commonly displayed as discrete bytes in decimal format and separated by
dots. And limiting the characters to digits does not yield adequate
validation.
I stand corrected :)
I've only ever used an IP address as a text item, therefore it made
sense to me it store it how it was 'used'. Of course, I wouldn't store
a DATETIME value as text, though...
Thanks,
Jamie.
--
.
- References:
- Which field to use
- From: Ana_T
- Re: Which field to use
- From: Brendan Reynolds
- Re: Which field to use
- From: Allen Browne
- Re: Which field to use
- From: Jamie Collins
- Re: Which field to use
- From: Allen Browne
- Which field to use
- Prev by Date: Re: Many-2-many relationships: Can I be told ...
- Next by Date: Re: Data Model Help
- Previous by thread: Re: Which field to use
- Next by thread: Re: path
- Index(es):
Relevant Pages
|