Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2002.12.23;
Скачать: CL | DM;

Вниз

Значение поля кот. было до обновления в триггере FOR UPDATE   Найти похожие ветки 

 
Shaman ©   (2002-12-03 17:21) [0]

Как получить доступ к subj. Другими словами нужен аналог интербейсовского old.


 
asmith   (2002-12-03 17:56) [1]

Выдержка из SQL Server BOL:
============================
Two special tables are used in trigger statements: the deleted table and the inserted table. Microsoft® SQL Server™ 2000 automatically creates and manages these tables. You can use these temporary, memory-resident tables to test the effects of certain data modifications and to set conditions for trigger actions; however, you cannot alter the data in the tables directly.
The inserted and deleted tables are used primarily in triggers to:
-Extend referential integrity between tables.
-Insert or update data in base tables underlying a view.
-Check for errors and take action based on the error.
-Find the difference between the state of a table before and after a data modification and take action(s) based on that difference.



 
Владислав ©   (2002-12-03 17:58) [2]

Ну, короче говоря, в таблице deleted ищи :).



Страницы: 1 вся ветка

Текущий архив: 2002.12.23;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.013 c
14-74969
sen
2002-12-03 11:49
2002.12.23
Удаленная работа


14-74922
Мазут Береговой
2002-12-01 06:12
2002.12.23
Я очень disapointed! Очень disapointed!


3-74589
Gaber
2002-12-04 12:48
2002.12.23
EXEL & DB


1-74771
oddboy
2002-12-11 07:55
2002.12.23
Как динамически создать CheckBox?


3-74623
Nickb hmkgfkuuyhgkl
2002-12-04 04:36
2002.12.23
Как сделать, чтобы в DBgrid при скролинге НЕ перемешался курсор Б