![]() |
|||
Comments and Discussions
|
About Article
Alternative to Useful DateTime Functions
IF OBJECT_ID (N'dbo.GetIntervalStartDate', N'FN') IS NOT NULL DROP FUNCTION dbo.GetIntervalStartDate;GO--gets first day of interval date belongs toCREATE FUNCTION dbo.GetIntervalStartDate (@Date datetime,@IntervalType int = 0--0 - DAY, 1 - WEEK (Mon to Sun), 2 - MONTH, 3 -...
Top News
The Next Version of Android - Some of What's Coming Get the Insider News free each morning.Related Articles
|
|||||||||||||||||||||||||||