hi,
I got this definitions from mysql official site
now() - returns the current date and time.
SYSDATE() returns the time at which it executes
This differs from the behavior for NOW(), which returns a constant time that indicates the time at which the statement began to execute. (Within a stored function or trigger, NOW() returns the time at which the function or triggering statement began to execute.)
i did not get the actual meaning and when to use sysdate instead of now?
I got this definitions from mysql official site
now() - returns the current date and time.
SYSDATE() returns the time at which it executes
This differs from the behavior for NOW(), which returns a constant time that indicates the time at which the statement began to execute. (Within a stored function or trigger, NOW() returns the time at which the function or triggering statement began to execute.)
i did not get the actual meaning and when to use sysdate instead of now?
Comment