Hi,
in the database that we use for learning reporting services a month is saved as an integer in a column. In the report I would like to have the month fully written istead of the numbers 1 to 12. Is this possible with the CAST function or the CONVERT function, I can't find the exact information in the msdn.
greetings

casting integer to month
Klaus-Dieter
the function is:
=MonthName(Fields!maand.Value)
you can place it an your tabel in your layout
it's a visual basic function apparently
plshn99
HTH, Jens Suessmeyer.
FlyingHigh
pebelf
=DATENAME(mm,DATEADD(dd,-1,DATEADD(mm,Fields!maand.Value)))
DBRGSS
Hi,
as far as I know, there is only DATENAME which produces the name of the Month, perhaps you make a function out of that:
CREATE FUNCTION MonthName
(
@Month TINYINT
)
RETURNS VARCHAR(20)
AS
RETURN (Select DATENAME(mm,DATEADD(dd,-1,DATEADD(mm,@Month,0))))
HTH, Jens Suessmeyer.
---
http://www.sqlserver2005.de
---
VDeepak