Estteban
Member since May 4, 2010
- Profile: /members/5965-estteban.htm
- Comments: 2
Recent Blog Comments By Estteban
-
Getting Only the Date Part of a Date/Time Stamp in SQL Server
Posted on May 6, 2010 at 2:28 PM
@TBonzai, Thank you, it work but I also need the date to be variable, I am currently using two querys with different times.: where my_datetime_column between DATEADD(hour, 4, DATEDIFF(DAY, 0, current_TIMESTAMP)) and DATEADD(minute, 870, DATEDIFF(DAY, 0, current_TIMESTAMP))... read more »
-
Getting Only the Date Part of a Date/Time Stamp in SQL Server
Posted on May 4, 2010 at 9:44 AM
In a table with thousands of records,one column being datetime, how can I divide the day in to 2 sections? Lets say 2 shifts. 1st shift starting at 04:00 and ending at 15:30, second shift starting at 15:30 and ending at 04:00. anyone has a suggestion for this? Thank you all.... read more »