Jump to content

datetime will not update..


pneudralics

Recommended Posts

NOW() returns a string and there is no need to put single-quotes around it in the query.

 

Actually what NOW() returns depends on context.

SELECT NOW(),NOW() + 0;

But 'NOW()' in quotes is just a literal string, the function is not being evaluated.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.