Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)

  • RE: Get Month Name

    Similarly if you want to list all the month names for a year using a T-SQL statement, you can do this:

    SELECT Number + 1 as [MonthNumber],

    DateName(mm,DATEADD(mm,Number,0)) as [MonthName]

    FROM master..spt_values

    WHERE Type...

  • RE: How many rows are returned from the query below?

    That query gives perfect result.

    Thanks.

    Mandar Kavishwar.

    EC Infosolution

Viewing 2 posts - 1 through 2 (of 2 total)