I have a table which contains \'NULL\' values which are of type \'Datetime\'. Now i have to convert those into empty string but when when i use convert function
declare @date datetime; set @date = null --declare @date datetime; set @date = '2015-01-01' select coalesce( convert( varchar(10), @date, 103 ), '')