Mass Update on Table with Trigger



Hi,

I need to update a field in about 20 records on a table. The table has
an update trigger (which updates the [lastedited] field whenever a
record is updated). As a result I'm getting an error: "Subquery
returned more than 1 value.", and the update fails.

Is there a way in the stored procedure to handle this issue?

thanks for your help.

Paul

.



Relevant Pages

  • Triggers
    ... In the table designer I gave the procedure name 'InsUpdAccountMasterTrigger' in the Insert and Update Trigger. ... Then I created the procedure in the stored procedure with the following code ...
    (microsoft.public.fox.helpwanted)
  • Re: Mass Update on Table with Trigger
    ... an update trigger (which updates the field whenever a ... As a result I'm getting an error: "Subquery ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (comp.databases.ms-sqlserver)
  • problem updating view with instead of trigger
    ... I have created wv_details view that has an instead of update trigger. ... So I changed this query as shown below. ... image data types are invalid in this subquery or aggregate expression.". ...
    (microsoft.public.sqlserver.programming)