WMitchellCPQ
Programmer
Hi there folkes
Ive run into a problem with my update statement. In it I wish to have a variable represting a FieldName and another representing the new value.
Here is my code however the update statement wont work as the variable field name takes the value of the value.
How do I fix this ... any help appreciated
W
Ive run into a problem with my update statement. In it I wish to have a variable represting a FieldName and another representing the new value.
Here is my code however the update statement wont work as the variable field name takes the value of the value.
How do I fix this ... any help appreciated
Code:
UPDATE dbo.OrderItems
SET @tmpFieldName = @tmpFieldValue
WHERE OrderID = @OrderID
W