> In other words, selection based on 7 columns or so is the only way to
uniquely identify a record.  So, is it possible to have a trigger check for
uniqueness and insert or update a record depending on whether the record was
found?

sql server triggers work after the insert--inserting then figuring out if
there are two identitical rows would be a bit challenging.  you'd probably
be better off with an SP to handle this.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to