Multi-part identifier error in SQL SERVER using UPDATE -
i having error :
msg 4104, level 16, state 1, line 2 multi-part identifier "minus.groupby" not bound.
whenever try using code:
update chadothercharges set jan = (select jan chadothercharges chadothercharges.groupby = minus.groupby) chadothercharges
chadothercharges , minus both table
chadothercharges table column: acctcode | acctdesc | type | orderby | groupby | jan minus table column: groupby | min | max
i think should definition of minus table, there not groupby column.
after watching table structure query :
update chadothercharges set jan = (select jan chadothercharges inner join minus on minus.groupby = chadothercharges.groupby)
Comments
Post a Comment