Re: Datatype Question
From: <jhostetter_at_dande.com>
Date: 1996/12/09
Message-ID: <58henp$3il_at_lily.redrose.net>#1/1
Jay Hostetter
Database Administrator
D. and E. Communications
Ephrata, Pa. U.S.A
jhostetter_at_dande.com
Received on Mon Dec 09 1996 - 00:00:00 CET
Date: 1996/12/09
Message-ID: <58henp$3il_at_lily.redrose.net>#1/1
In article <58d4h1$7bk_at_ustsu10.ust.hk>,
bm_lswaa_at_uxmail.ust.hk (Lam Sze Wai) wrote:
>Can anyone kindly tell me whether there exists a datatype
>that when a new record is added, its value automatically
>is increased by one? How can I access it using Pro*C?
>Thank you.
>
You probably want to put this logic into a trigger within the database, updating the value whenever a new record is added. If the logic is in a trigger, than you can use Pro*C to update your database.
Jay Hostetter
Database Administrator
D. and E. Communications
Ephrata, Pa. U.S.A
jhostetter_at_dande.com
Received on Mon Dec 09 1996 - 00:00:00 CET