Re: Help Data-Types

From: --CELKO-- <71062.1056_at_compuserve.com>
Date: 17 Aug 2002 08:44:23 -0700
Message-ID: <c0d87ec0.0208170744.728ab9ca_at_posting.google.com>


>> Just a quick question on a datatypes since I'm a young novice. What
the heck would an IP address go under? Text? <<

I'd do it as a VARCHAR(n), since you can have digits and dots in it, then add a CHECK() constraint to verify it. In Standard SQL-99 you have a SIMILAR predicate and in SQL and other products, you have grep() extensions you can use. Received on Sat Aug 17 2002 - 17:44:23 CEST

Original text of this message