I'm not sure if it's possible in a simple SQL query. However, if you can create a stored procedure then you have options. I'm not going to research the options, but here's the example.
I know that Oracle has metadata that you can query, so you can get the column names of a table. (I think SQL server has something similar)
So, since you can query this metadata then you can loop through the column names, build a string with column names for your update statement and do an "execute" of that string
This has issues though:
- security - SQL injection is possible since you are building a string to execute. Perhaps you could use bound variables or parameterize even the string you build and run
- if you build a "hard-coded" UI, the moment the table changes and doesn't have default values for new columns or the columns are reordered, it will break. However, if you build the UI to read the metadata and then do the same thing to create the string to run then it should be fine.