gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUe] generate primary key


From: Erik Dalén
Subject: [GNUe] generate primary key
Date: Thu, 03 Jun 2004 22:30:18 +0200
User-agent: Mozilla Thunderbird 0.6 (X11/20040528)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

I'm wondering how you make a Pre-Insert trigger on a field that
generates a new unique number for that field? For a numeric primary key
in a SQL table. Should be a quite common thing in 2-tier apps.

/Erik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAv4paQSuZLoT2ulIRAs0PAJ9eZj33KrworJMSCe53/gE8VadyvgCfe3ww
7AO3D/yrHbynCcvtREMh5gE=
=1Scn
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]