• You are correct. User::WEBfeWBPhaseID is Int32. I changed the parameter mapping to be LONG but the same error comes up.

    The query I've been trying (extremely simple for now) is this:

    DECLARE @WEBfeWBPhaseID as int

    SET @WEBfeWBPhaseID = ?

    UPDATE tbl_WRPhase

    SET MonitorAlert = 'Yes'

    WHERE WEBfeWBPhaseID = @WEBfeWBPhaseID

    Once I get it working, the query will be more complicated.