I want to convert a date(which is in the DDMMYYYY format) into the MMDDYYYY format in sql query.below is my query but its not working??
Do anyone have any idea???
declare @s char(10)
set @s = '21/04/2008'
select convert(char(10 ),@s,101)
Do anyone have any idea???
declare @s char(10)
set @s = '21/04/2008'
select convert(char(10 ),@s,101)
Comment