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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -