Hey, Guys!
Trying to accomplish fairly simple task; however, for some reason it's not working.
I have two tables [000000 Cons Request History] and [dbo_ItmMstr].
1.Every InvMajCls field from [000000 Cons Request History]Table needs to be updated with a corresponded MajorCls from[dbo_ItmMstr]Table and those two tables should be linked by Item field.
Here what I've got so far:
the result is weird, it populates the column with "inv" instead of numbers
InvMajCls
Inv
Inv
Inv
Thank you in advance for your advise!
Valeriya
Trying to accomplish fairly simple task; however, for some reason it's not working.
I have two tables [000000 Cons Request History] and [dbo_ItmMstr].
1.Every InvMajCls field from [000000 Cons Request History]Table needs to be updated with a corresponded MajorCls from[dbo_ItmMstr]Table and those two tables should be linked by Item field.
Here what I've got so far:
Code:
UPDATE [000000 Cons Request History] LEFT JOIN dbo_ItmMstr ON [000000 Cons Request History].Item = dbo_ItmMstr.Item SET [000000 Cons Request History].InvMajCls = "InvMajCls"
WHERE ((([000000 Cons Request History].InvMajCls)<>[dbo_ItmMstr].[MajorCls]));
the result is weird, it populates the column with "inv" instead of numbers
InvMajCls
Inv
Inv
Inv
Thank you in advance for your advise!
Valeriya