[Zope] Trigger/Auto ID on Gadfly DB
Micheál Healy
michael.healy@engitech.ie
Tue, 5 Nov 2002 12:09:22 -0000
This is a multi-part message in MIME format.
------=_NextPart_000_0051_01C284C4.2D1989A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi all,
Is it possible to set a trigger on a gadfly database table? I would =
like to automatically generate an Id on a table each time I insert. In =
Oracle, I would create a sequence and then create a trigger on the table =
in question based on the sequence. I something similar possible with =
Gadfly?
TIA,
Miche=E1l
------=_NextPart_000_0051_01C284C4.2D1989A0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Is it possible to set a trigger on a =
gadfly=20
database table? I would like to automatically generate an Id on a =
table=20
each time I insert. In Oracle, I would create a sequence and then =
create a=20
trigger on the table in question based on the sequence. I =
something=20
similar possible with Gadfly?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>TIA,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Miche=E1l</FONT></DIV></BODY></HTML>
------=_NextPart_000_0051_01C284C4.2D1989A0--