generate primary key
Erik Dalén <[email protected]>
| Newsgroups | gmane.comp.gnu.enterprise.general |
|---|---|
| Message-ID | <[email protected]> |
-----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-----