Subject | Re: [firebird-support] Re: procedure question or multiple table keys |
---|---|
Author | Lester Caine |
Post date | 2004-06-01T12:30:42Z |
dleec45 wrote:
function GenID($seqname='adodbseq',$startID=1)
in ADOdb Driver
This will automatically create Generator if it does not exist, and get
the next value if it does.
It can be used in conjunction with
CreateSequence and DropSequence
and is designed to mimic the AUTOINCREMENT and sequence actions of other
database engines.
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
>>Thanks Alexandre, I looked at the Release Notes for 15 and 'think' ILook at
>
> understand that what I want to do may work, except for one reason. I'm
> using ADOdb and i don't think that this new feature is in that as
> yet, or I'm not even certain that procedures can be executed either,
> so I still have a problem that I don't know how to resolve. Thanks.
function GenID($seqname='adodbseq',$startID=1)
in ADOdb Driver
This will automatically create Generator if it does not exist, and get
the next value if it does.
It can be used in conjunction with
CreateSequence and DropSequence
and is designed to mimic the AUTOINCREMENT and sequence actions of other
database engines.
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services