Guest_imported
New member
- Jan 1, 1970
- 0
Hi,
I have a main table CONTACT with a counter as the key. I want to write a trigger that, everytime a row is created in this main table CONTACT, a new row is inserted in an annex table with the number generated as the value of a column.
For example, if the following row is inserted in the main table CONTACT:
Generated number
|
v
22 John Smith
So a trigger insert the following row in another table:
22 2001/06/18
Is it possible ? How ?
Thanks
Vincent
I have a main table CONTACT with a counter as the key. I want to write a trigger that, everytime a row is created in this main table CONTACT, a new row is inserted in an annex table with the number generated as the value of a column.
For example, if the following row is inserted in the main table CONTACT:
Generated number
|
v
22 John Smith
So a trigger insert the following row in another table:
22 2001/06/18
Is it possible ? How ?
Thanks
Vincent