Skip navigation links
Showing entries 1 to 2

Tags Filter: timestamp (reset)

Articles
Add to Favourites +1 Vote Up -0Vote Down
This is a post about "SYSDATE()" and "NOW()" and "CURRENT_TIMESTAMP()" functions in MySQL.Firstly, note is that of these three, only "CURRENT_TIMESTAMP()" is part of the SQL Standard. "NOW()" happens to be an alias for "CURRENT_TIMESTAMP()" in MySQL.Secondly, note that replication does not work well with non-deterministic functions. And "hey, what time is it?" is non-deterministic. Ask it twice, with a second apart between asking, and both times you get different results (with at least second precision).You can start to see the problem here....but there's more....
Articles
Add to Favourites +0 Vote Up -0Vote Down
Creating a MySQL-plugin that can be used to create a function which can in turn be used in stored procedures.
Showing entries 1 to 2