Home Forums SQL Server 2005 T-SQL (SS2K5) first official day of every month for past 3 years RE: first official day of every month for past 3 years

  • scottichrosaviakosmos (10/14/2012)


    i have a table and a column with dates. there are multiple dates for same date . these dates are inserted on basis of a procedure run on working days and the time of run is inserted into the date column.

    Now i want to make a query to find the first run date of every month for past 2 years from the list of dates in the dates column.

    To have someone help you, you should assist them is no doing by posting the table definition, some sample data and desired result.

    you can do this easily, by clicking on the first link in my signature block and follow the simple instructions (using the T-SQL statements also in the article)

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]