
Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
|
21.05.2008, 10:37
|
|||
|---|---|---|---|
|
|||
pervasive trigger |
|||
|
#18+
могу ли я как нибудь написать типа: create trigger MyTable_BU before update on MyTable for each row begin update MyTable set Count_of_child=Count_of_child+1 where ID=new.parent_id; update MyTable set Count_of_child=Count_of_child-1 where ID=old.parent_id; end; то есть если я хочу при изменении записи проделать ряд операций могу ли я использовать begin ... end ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|

start [/forum/topic.php?fid=56&tablet=1&tid=2015938]: |
0ms |
get settings: |
7ms |
get forum list: |
14ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
33ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
27ms |
get tp. blocked users: |
1ms |
| others: | 195ms |
| total: | 292ms |

| 0 / 0 |
