Top "Sql-convert" questions

SQL `CONVERT()` is a general function that converts an expression of one data type to another.

How to convert DateTime to VarChar

I am working on a query in Sql Server 2005 where I need to convert a value in DateTime variable into …

sql sql-server datetime sql-convert
Convert dd/mm/yyyy to date in SQL Server

I'm going nuts trying to convert a string type column into date. The column name is StartDate, which contains a …

tsql date varchar sql-convert
Converting varchar values to decimal while handling NULLs and EMPTY strings as 0

I have a column of varchar datatype populated with a mix of values such as 1.2, 5.33 while also having NULLs and …

sql sql-server string tsql sql-convert