|
|
|
Триггеры
|
|||
|---|---|---|---|
|
#18+
Подскажите, кто знает. Можно ли в триггере выполнять более одного оператора? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 15.04.2004, 22:25:08 |
|
||
|
Триггеры
|
|||
|---|---|---|---|
|
#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:19 |
|
||
|
Триггеры
|
|||
|---|---|---|---|
|
#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:11 |
|
||
|
|

start [/forum/topic.php?fid=43&msg=32483726&tid=1606310]: |
0ms |
get settings: |
9ms |
get forum list: |
17ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
71ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
40ms |
get tp. blocked users: |
1ms |
| others: | 200ms |
| total: | 355ms |

| 0 / 0 |
