What are the difference between now and current_date in mysql?



What are the difference between now and current_date in mysql?..

Answer / hrindows@gmail.com

NOW
NOW() give you the current date time in the format 'YYYY-MM_DD HH:MM: SS'
CURRENT
CURRENT_DATE() will only give you the current date in format "YYYY-MM_DD"

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MySQL Interview Questions

What language is mysql written in?

0 Answers  


What are the steps required to view your mysql database?

0 Answers  


How to declare variable in mysql trigger?

0 Answers  


What does blob mean in mysql?

0 Answers  


Explain data type TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP .

2 Answers   Zensar,






How do I truncate all tables in mysql?

0 Answers  


what are the different tables present in mysql? : Mysql dba

0 Answers  


what is the advantage of left outer join?

2 Answers  


maximum database size of mysql database

2 Answers  


how do i list constraints in my database by using sql server2000?

1 Answers  


What is the query to display top 20 rows?

0 Answers  


How do I run a query in mysql?

0 Answers  


Categories