(1) I must insert a value = tomorrow @ midnight for 'effective date' (which is effective tomorrow, datatype = datetime) into a new table row.
(2) I must also update 'end date' (which is effective tomorrow, datatype = datetime) value = tomorrow @ midnight in an existing row.
For the update, I tried dateadd(dd,1,getdate()) and got the correct date but I don't know how to change the time portion to 0:00:00.
Thank you for any assistance.
(2) I must also update 'end date' (which is effective tomorrow, datatype = datetime) value = tomorrow @ midnight in an existing row.
For the update, I tried dateadd(dd,1,getdate()) and got the correct date but I don't know how to change the time portion to 0:00:00.
Thank you for any assistance.