Reply to Re: trigger question

Your name:

Reply:


Posted by Razvan Socol on 06/26/06 13:30

Zvonko wrote:
> I have a interesting problem. I need to write a trigger that wil go off
> after every sixth row is inserted/updated.

Why would you want to do that ?

> Trigger should get SUM(optzalpak) WHERE sifrob = '30300991' and update the
> column optzalpakuk where sifrob = '30300991' with that value.

You mean "SUM(optzalpak) FROM inserted" or "SUM(optzalpak) FROM PODACI"
?
In other words, you want the sum of the values inserted in that
statement or the sum of all values from the table (for the affected
"sifrob") ?

Razvan

[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

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