911 - Cursor killing my trigger

  • Curious, but shouldn't this:

    DECLARE noteID_curs CURSOR FOR

    Select NoteID from BugNotes where BugID=@IncidentID and ProjectID=@ProjectID

    come after this:

    Select @ProjectID = (Select ProjectID from Inserted)

    Select @IncidentID = (Select BugID from Inserted)

    ??

Viewing post 16 (of 16 total)

You must be logged in to reply to this topic. Login to reply