Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Базы";
Текущий архив: 2002.12.23;
Скачать: [xml.tar.bz2];

Вниз

Значение поля кот. было до обновления в триггере 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;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.44 MB
Время: 0.009 c
7-75019
vic_774N
2002-10-19 15:38
2002.12.23
Как программно отключить переход на летнее время ?


3-74560
Ozone
2002-12-02 13:21
2002.12.23
SQL - перехват ошибок


4-75058
Василий
2002-11-06 18:01
2002.12.23
Как програмно инсталировать шрифт ?


3-74576
VanySh
2002-12-02 20:17
2002.12.23
KADao


1-74705
DVM
2002-12-13 17:47
2002.12.23
PopupMenu для элементов управления созданных в RunTime





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский