-2
Good morning, I would need to delete only those registered from a field of my table. In the case I have the product table and in it has the field dtsanitation and in this field had records. I would need to delete only the records from this field and keep the table and other information intact. Could anyone help me ?
One thing I forgot to mention, I need to keep the 2019-01-01 date on and the previous ones will be null, as would the code ?
– Dev
In case you add a clause in your UPDATE, it would look like this UPDATE product SET dtsanitation = NULL WHERE data < 2019-01-01
– Joao Benthin