Hi everyone,
I have a situation I don't understand.
The following UPDATE stmt gives this error:
Server: Msg 4406, Level 16, State 2, Line 1
Update or insert of view or function 'dbo.vwTblClaims_stampTblClaimsUpdate' failed because it contains a derived or constant field.
Can anyone interpret this message for me?
Thanks, John
BEGIN
UPDATE dbo.vwTblClaims_stampTblClaimsUpdate
SET totalclaim = claimed, totalapproved = approved, totalpaid = paid, balance = balpending, isPaid = CONVERT(binary, ispaidfrom), isAuth = isauthFrom,
authBy = authbyfrom, dtmAuth = dtmauthfrom, paidBy = paidbyfrom, dtmPaid = dtmpaidfrom, dtmreceived = claimreceived, receivedBy = recby,
misc2 = status, lamto = CONVERT(varchar, lamfrom), lmgto = CONVERT(varchar, lmgfrom)
END
I have a situation I don't understand.
The following UPDATE stmt gives this error:
Server: Msg 4406, Level 16, State 2, Line 1
Update or insert of view or function 'dbo.vwTblClaims_stampTblClaimsUpdate' failed because it contains a derived or constant field.
Can anyone interpret this message for me?
Thanks, John
BEGIN
UPDATE dbo.vwTblClaims_stampTblClaimsUpdate
SET totalclaim = claimed, totalapproved = approved, totalpaid = paid, balance = balpending, isPaid = CONVERT(binary, ispaidfrom), isAuth = isauthFrom,
authBy = authbyfrom, dtmAuth = dtmauthfrom, paidBy = paidbyfrom, dtmPaid = dtmpaidfrom, dtmreceived = claimreceived, receivedBy = recby,
misc2 = status, lamto = CONVERT(varchar, lamfrom), lmgto = CONVERT(varchar, lmgfrom)
END