|
Триггеры
|
|||
---|---|---|---|
#18+
Подскажите, кто знает. Можно ли в триггере выполнять более одного оператора? ... |
|||
:
Нравится:
Не нравится:
|
|||
15.04.2004, 22:25 |
|
Триггеры
|
|||
---|---|---|---|
#18+
Вроде можно: Information Center triggered-action Specifies the action to be performed when a trigger is activated. The triggered-action is composed of one or more SQL statements and by an optional condition that controls whether the statements are executed. ... |
|||
:
Нравится:
Не нравится:
|
|||
16.04.2004, 08:31 |
|
Триггеры
|
|||
---|---|---|---|
#18+
CREATE TRIGGER xxx.xxx AFTER DELETE ON zzzz REFERENCING OLD AS o FOR EACH ROW MODE DB2SQL BEGIN ATOMIC delete from xxx1 where fff=o.fff; delete from xxx2 where qqq=o.qqq; delete from xxx3 where jjj=o.jjj; END. ... |
|||
:
Нравится:
Не нравится:
|
|||
16.04.2004, 09:32 |
|
|
start [/forum/topic.php?fid=43&fpage=156&tid=1606310]: |
0ms |
get settings: |
9ms |
get forum list: |
11ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
41ms |
get topic data: |
10ms |
get forum data: |
2ms |
get page messages: |
41ms |
get tp. blocked users: |
1ms |
others: | 313ms |
total: | 434ms |
0 / 0 |