0
I’d like to make a UPDATE
where I have two conditions; I would like to join the two in one, if not one is the other.
FIRST :
UPDATE RLT005
SET CtrDatBaixa = '2018-12-15 00:00:00'
WHERE
CtrDatBaixa BETWEEN '2018-12-15 00:00:00' AND '2018-12-15 23:59:59'
SECOND :
UPDATE RLT005
SET CtrDatBaixa = '2018-12-31 00:00:00'
WHERE
CtrDatBaixa BETWEEN '2018-12-31 00:00:00' AND '2018-12-31 23:59:59'
Describe what it is to join into one. And why you need to do this?
– Maniero
What you want is just truncate the timestamp field to just date, zeroing the hour, minute and second?
– anonimo