Hi I worked on Mssql recently and somewhere i got following query
query = "select dateadd(SS,1,getdate()) as 'StartTime'"
Here i can expect getdate() in Mssql is now() in Mysql
But i want to do the functionality of the above MSSQL query in MYSQL , so can anyone please let me know how to write the same query in MYSQL
You can use this:
SELECT DATE_ADD(NOW(), INTERVAL 1 SECOND) AS starttime