>The QUARTER() function returns the quarter. Is there a way to calculate the first and the last date of a calendar quarter? I suppose I can "build" such a function but I was wondering if there is already a "built-in" function for that? > >TIA>
In case you need to search by ranges in SQL Server, take a look at this blog post