tsql - T-SQL String to DateTime-conversion -
tsql - T-SQL String to DateTime-conversion -
i need cast string values of next formats datetime:
2042-04 2011-01 is there easy way this? i've tried cast , convert without much luck.
thanks!
try appending "-01" end of , doing cast or convert
sql tsql sql-server-2008-r2
Comments
Post a Comment