Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trigger problems

Status
Not open for further replies.

sguslan

IS-IT--Management
Joined
Aug 27, 2001
Messages
489
Location
SA
I wrote an update/insert trigger that takes the value in some columns of the inserted table, run an extended stored procedure to do codepage conversion, then tries to update the affected columns. I am so far unable to update correctly without writing a cursor into the trigger. I get sql 24000 wrong cursor state if i remove the cursor.

Any help ?
 
Let me re-phrase :

Is there a way to make an update/insert trigger work on per ROW basis rather than once per the firing SQL statement ?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top