This is an optimization question, mostly. I have many forms on my sites that do simple Inserts and Updates. (Nothing complicated)
But, several of the form's input fields are not necessary and may be left empty. (again, nothing complicated)
However, my SQL query will have all columns in the Statement. My question, is it best to optimize the Inserts/Update queries appropriately? And only apply the columns that are changed into the query?
We all hear that we shouldn't use the "SELECT *" query, unless it's absolutely needed for displaying all columns. But what about Inserts & Updates?
Hope this makes sense.
I'm sure any amount of optimization is acceptable. But I never really hear about this, specifically, from anyone.