[URGENT] How to generata a unique string id

From: Manuel Durán Aguete <mdaguete(at)alsernet(dot)es>
To: pgsql-general(at)postgresql(dot)org
Subject: [URGENT] How to generata a unique string id
Date: 2001-05-25 14:29:08
Message-ID: Pine.LNX.4.21.0105251626490.23434-100000@manuel.grupoalser.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hi,

I need to generate a unique four letters string (p.e
AAAA,AAAB) for any tuple I insert into a table, any idea ? How can I do
this ?

Thanks.

--
Manuel Durán Aguete
ALSERNET 2000 S.L
http://www.alsernet.es
Tlf: 902 187 187
Fax: 981 179 121

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alla 2001-05-25 14:32:47 Re: Return cursor
Previous Message Tom Lane 2001-05-25 14:27:34 Re: Username with a hyphen character (grant failing?)