hey guys,
i want to convert datetime from string, i have string which contains ‘GETDATE’ now i want to convert the same in datetime, the string in sql server is been defined as varchar(max)
Please reply how can i type cast the GETDATE() function from string to datetieme.
Regards
Abbas Electricwala
I guess that you mean that you have a string that contains the text
GetDate()like this.And you want to turn that into a date variable executing
getdate().You could do this since you know what what
getdate()means.Does not really make sense, there probably is more to this than you are telling.