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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

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

android - How to create dynamically Fragment pager adapter -