sql - Is it possible to update a Sybase datetime column that defaults to current time? -
a sybase table column called "update_time" datetime type , defaults current time whenever row updated. however, want update "update_time" of row time in past, keeps putting current time. possible make kind of change?
the query i'm using try update:
update table set update_time = '09-21-2015 12:00:00.000 pm' id=1;
after run this, update_time row goes current time when run query, not actual time in query.
Comments
Post a Comment