How do I write TSQL that it calculates the following:
- the current date and mid night such as 2010-12-01 00:00:00.000
- the current date and 6pm such as 2010-12-01 18:00:00.000
Thanks..
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can try something like the following