|
|
|
Триггеры
|
|||
|---|---|---|---|
|
#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&fpage=156&tid=1606310]: |
0ms |
get settings: |
11ms |
get forum list: |
18ms |
check forum access: |
3ms |
check topic access: |
4ms |
track hit: |
84ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
33ms |
get tp. blocked users: |
1ms |
| others: | 227ms |
| total: | 391ms |

| 0 / 0 |
