Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Databases General > Re: Domain for ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 3079 of 3295
Post > Topic >>

Re: Domain for numbers.

by Lennart <Erik.Lennart.Jonsson@[EMAIL PROTECTED] > Jan 17, 2008 at 11:15 AM

On Jan 17, 1:25 pm, Naga <nagale...@[EMAIL PROTECTED]
> wrote:
> Actually, i have a need to store the numbers like "AS2303",
> TS3381"(first 2 alphabets,next 3 numbers). What i want is, i have to
> assign the integrity which can check the following values,
>       23334, ASDER, SDE23, 233A4 and like this.
> If i assign as a character type domain.Then i can't check the above
> cases.
> Can anyone help me?
> I am using postgresql(for your information).


http://joseph.randomnetworks.com/archives/2004/05/24/postgresql-check-constraint-sup****ts-regular-expressions/

HTH
/Lennart
 




 3 Posts in Topic:
Domain for numbers.
Naga <nagalenoj@[EMAIL  2008-01-17 04:25:34 
Re: Domain for numbers.
Lennart <Erik.Lennart.  2008-01-17 11:15:49 
Re: Domain for numbers.
luckyonlyya@[EMAIL PROTEC  2008-01-18 18:47:40 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 10:48:13 CST 2008.