当前位置:网站首页>How do I add the hours of the current date in SQL Server- How to add hours to current date in SQL Server?

How do I add the hours of the current date in SQL Server- How to add hours to current date in SQL Server?

2022-06-09 07:26:00 Bustling city

problem :

I am trying to add hours to current time like I want to add a few hours to my current time

-- NOT A VALID STATEMENT-- SELECT GetDate(DATEADD (Day, 5, GETDATE()))

How can I get hours ahead time in SQL Server? How to be in SQL Server A few hours in advance ?


Solution :

Reference resources : https://stackoom.com/en/question/1FhS6
原网站

版权声明
本文为[Bustling city ]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/03/202203021422167801.html