I’m attempting to do an update on a table, which is read-only. I received an error message regarding the use of merge only. Most of the examples online of using merge with a select into, etc. though. I’m looking for the simplest update statement replacement – I don’t need to merge an entire table, etc.
update table1 set value = 'asdf' where id = 100`
Is the only way to use a merge in this case to create a temp table w/ my ‘asdf’ value and merge that into my target table?
Another solution might involve removing the read-only attribute for my transaction. I don’t know how to do this though.
Thank you in advance for any help!
I think your problem starts here:
Whether it’s a replicated table or simply set as read only (which admins or admin-level users can set), you won’t be able to update the table.
You can select the data from that table into a another table and try your update there.
You will need appropriate permissions to be able to manipulate (create, insert, update or delete) any object.