Get the App
SLTechnology News&Howtos  ›  Database  › 

A statement in sql that turns the minutes and seconds of a date into zero.

Shulou Source: shulou.com Published: 2022-05-31 18:21:46 11月01日 Update

This article mainly explains "the sentence that turns the minute and second of the date into zero in sql". The content of the explanation in the article is simple and clear, and it is easy to learn and understand. please follow the editor's train of thought to study and learn "the sentence that turns the minute and second into zero in sql".

The copy code is as follows:

Select cast (convert (nvarchar (10), getdate (), 112) as datetime)

Thank you for your reading, the above is the "sql in the date minutes and seconds into zero sentence" content, after the study of this article, I believe that you have a deeper understanding of the sql in the date minutes and seconds into zero statements of this problem, the specific use of the need for everyone to practice and verify. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Minutes dates sentences learning code content that is ideas situations articles more knowledge knowledge points articles follow questions practice push research verification Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft OPPO Reno vpn Linux Huawei