SQLServerCentral » Latest topics
Select statement based on getdate() depending on time of day
I have a need for a select statement which uses current date/time and if hour is less than 15(3PM) the starting date is set for one day less. Here is my code, but as I understand it, it's T-SQL and it doesn't play nice when i'm trying to build my view.&nb
No comments:
Post a Comment