I'm doing an update trigger that is doing a bunch of 
convoluted stuff to update a pseudo warehouse table. All I 
care about passing to the trigger code is the ID of the 
record being updated. I'm doing something like this.

Set Blah blah blah
where Table_ID = (Select Table_ID from inserted)

I've heard that "inserted" can contain more than one 
record. If so the above could obviously fail in a nasty 
way. Is that correct and if so what would be the way to do 
this?

Lee Surma

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296738
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to