|
|
|
Триггеры
|
|||
|---|---|---|---|
|
#18+
Есть таблица person с полями pcounter и person Создаем триггер: create trigger fuckrow_person for person after update as begin if ((person='') or (person is null)) then delete from person where pcounter=new.pcounter; end Запускаем на выполнение в ISQL , смотрим результат : Dynamic SQL Error -SQL error code = -206 -Column unknown Что здесь не правильного ? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 10.11.2003, 12:07 |
|
||
|
Триггеры
|
|||
|---|---|---|---|
|
#18+
хотелось бы увидеть ddl таблицы и версию сервера ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 10.11.2003, 12:43 |
|
||
|
Триггеры
|
|||
|---|---|---|---|
|
#18+
Исправь if ((person='') or (person is null)) then на if (( NEW .person='') OR ( NEW .person IS NULL )) then ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 10.11.2003, 17:46 |
|
||
|
|

start [/forum/topic.php?fid=40&fpage=497&tid=1579678]: |
0ms |
get settings: |
10ms |
get forum list: |
21ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
85ms |
get topic data: |
13ms |
get forum data: |
3ms |
get page messages: |
52ms |
get tp. blocked users: |
2ms |
| others: | 248ms |
| total: | 442ms |

| 0 / 0 |
