Board index » delphi » Problem with triggers on a view modifying the underlying tables
Camilo Horovitz
![]() Delphi Developer |
Tue, 06 Jan 2004 03:04:37 GMT
Problem with triggers on a view modifying the underlying tables
I have run into a problem while creating a trigger for update on a view that
inserts records into one of the tables on which the view is based. Running the queries from isql when trying to execute an UPDATE on the view isql stops working and gives no response - i had to end the connection by turning off and on the IB server. I reproduced the same error on a simpler sequence of statements on an empty database: CREATE TABLE TEST_TABLE (A INTEGER); CREATE VIEW TEST_VIEW AS SET TERM !! ; INSERT INTO TEST_TABLE (A) VALUES (1); On this UPDATE isql stops working. When restarting the server, no record has |