How to query datetime = todays date and 00:00:00 as the time part

I want to query datetime = todays date and 00:00:00 as the time part
LVL 2
meteorelecAsked:
Who is Participating?
 
Aneesh RetnakaranConnect With a Mentor Database AdministratorCommented:
Hello meteorelec,

SELECT CAST ( convert (varchar,getdate(), 112) as datetime )

GOD BLESS,

Aneesh R.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.