I am trying to build a chatracter string with parts of a date to name an excel 
file I am outputing. But it's trying to mathmatically calulate the values. 
Can't remember how to do this. can anyone help???

SET @month = CONVERT(varchar(3),DATENAME(m,getdate()))
SET @day = CONVERT(varchar(2),DATEPART(d,getdate()))
SET @year = CONVERT(varchar(4),DATEPART(yyyy,getdate()))

SET @filenameend = @month+'-'[EMAIL PROTECTED]'-'[EMAIL PROTECTED]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191284
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to