How do I gracefully solve a problem in MySQL that is accurate to milliseconds?

Source: Internet
Author: User
Just done, no two fields are needed. mysql5.6.4 later versions, support defining a field such as time (3) or timestamp (6), and then using Current_timestamp (6), you can assign a value with a millisecond or microsecond value to the field! posted on 2015-08-27 I'm also studying the problem. All seem to be two fields to implement.

http://www.zhihu.com/question/20859370

The general search is to use two fields to achieve, this is known to say 5.6.4 after the can.

In fact, you can also use a string to save, and the time string to milliseconds can be the master key.

How do I gracefully solve a problem in MySQL that is accurate to milliseconds?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.