Archive for May 25th, 2006
May/06
25
Sql Server: DateRanges() Function
No comments · Posted by Craig Buchanan in Functions, Programming, SQL Server
This user-defined function creates a table of date ranges. (more…)
The Sql Server GETDATE() function not allowed in the body of user-defined functions, as it is non-deterministic. The GetNow view provides a means to generate a system date/time that can be used in Sql Server user-defined functions.
May/06
25
Crystal Reports: CDateRange() Function
No comments · Posted by Craig Buchanan in Functions, Programming
Convert a string value into its equivalent Date Range.
