james marriot
Mr or Mrs. 500
Points: 563
More actions
August 10, 2006 at 8:12 am
#115025
i have a table full of months as strings.
is there a function that could return a date of the first day of that month?
Ken McKelvey
SSCoach
Points: 18842
August 10, 2006 at 9:27 am
#654349
Ryan Randall's solution:
select cast('1 ' + 'February, 2004' as datetime)
August 10, 2006 at 9:34 am
#654355
works like a charm.
Thank you
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply