Reply to Re: How do you conditionally fire a trigger (mimic replication)

Your name:

Reply:


Posted by Alex Kuznetsov on 10/19/06 17:28

Steve,

If you absolutely do not want to use replication, and do not want to
add a column AddedOnServerNumber, make sure identities on one server
are odd (1,3,5,7,..) and on another are even(2,4,6,..)
Have you triggers act differently depending on inserted.ID % 2, or
based on AddedOnServerNumber.

-----------------------
Alex Kuznetsov
http://sqlserver-tips.blogspot.com/
http://sqlserver-puzzles.blogspot.com/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация