Hi,
I have the following code:
UPDATE myTable
SET Col1 = @Value
However, I have a table that has over a 100 columns and want to be able to specify a column name by passing the name into the query similar to:
UPDATE myTable
SET @ColName = @Value
When I do this I get an error. Is there a good solution to this? Its probably something simple!
Thank you in advanced.