Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Trigger

Author  Topic 

tad
Starting Member

31 Posts

Posted - 2002-05-23 : 11:15:09
I have a cursor running that fails when a trigger gets fired. Is there any way to surpress a trigger from firing during this sp ? Should I be approaching this differently ?

Server: Msg 16934, Level 10, State 1, Procedure spKYLAB_SubmitGrading, Line 182
[Microsoft][ODBC SQL Server Driver][SQL Server]Optimistic concurrency check failed. The row was modified outside of this cursor.

Page47
Master Smack Fu Yak Hacker

2878 Posts

Posted - 2002-05-23 : 11:18:42
declare your cursor as insensitive or alter table disable trigger triggername or better yet don't use a cursor, use a set-based method....

post your proc, maybe we can help

<O>
Go to Top of Page
   

- Advertisement -