Josh Berkus wrote:
> > Anyone have a good pre-built user-defined type definition for creating /
> > maintaining / manipulating a SSN ... where valid chars are in the range
> > 000-00-0000 through 999-99-9999.
> Actually, the range is more narrowly defined than that. I'm not sure of the
> exact rules, but you will never see a leading 0 or a -00- in an SSN.
Actually I know someone who's SSN starts as 003.
Agreed on the DOMAIN suggestion.
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
In response to
pgsql-hackers by date
|Next:||From: Greg Sabino Mullane||Date: 2004-02-28 17:05:16|
|Subject: Re: [HACKERS] Collaboration Tool Proposal|
|Previous:||From: Tom Lane||Date: 2004-02-28 16:05:36|
|Subject: Re: cvs: mislinked plpgsql.so ? |
pgsql-sql by date
|Next:||From: Bruce Momjian||Date: 2004-02-29 02:44:58|
|Subject: Re: Enterprice support in PostgreSQL|
|Previous:||From: JJ Gabor||Date: 2004-02-27 22:18:44|
|Subject: VIEW on lookup table|