SQL Server, Query Last month, always - TechRepublic
General discussion
July 12, 2006 at 11:21 AM
akalinowski

SQL Server, Query Last month, always

by akalinowski . Updated 19 years, 11 months ago

I am trying to create a view in microsoft sql server 2005, where it pulls in invoice details for last month, i can use the between command and get it working just fine, but i have to change it every month, the view is used for a report that runs on an asp web page

my question is simply how do i get the view to always pull last month only

This discussion is locked

All Comments