| View previous topic :: View next topic |
| Author |
Message |
Alan Guest
|
Posted: Thu Aug 26, 2004 12:33 am Post subject: Auto_Increment in Firebird |
|
|
Can an auto_increment integer field be defined in Firebird 1.5 ?
|
|
| Back to top |
|
 |
Bill Todd (TeamB) Guest
|
Posted: Thu Aug 26, 2004 3:59 am Post subject: Re: Auto_Increment in Firebird |
|
|
AFAIK Firebird uses generators just as InterBase does. See generators
in the Firebird docs.
--
Bill (TeamB)
(TeamB cannot respond to questions received via email)
|
|
| Back to top |
|
 |
Paul M Guest
|
Posted: Thu Aug 26, 2004 11:14 am Post subject: Re: Auto_Increment in Firebird |
|
|
For your ID field you can create one generator an one trigger that increment
your generator with 1 before u insert any value in your table!
Paul
"Alan" <NOSPAMalan_pltse (AT) yahoo (DOT) com.au> wrote
| Quote: | Can an auto_increment integer field be defined in Firebird 1.5 ?
|
|
|
| Back to top |
|
 |
|