I already have data inserted in table with column of datetime named enddate. I want to update the all rows to have
enddate = enddate - 1 minute.
How i can do this?
Thanks Samer
I already have data inserted in table with column of datetime named enddate. I want to update the all rows to have
enddate = enddate - 1 minute.
How i can do this?
Thanks Samer
UPDATE tableName
SET enddate = DATEADD(minute, -1, enddate)
detail DATEADD