convert date in dd-mon-yyyy format in sql server code example
Example: sql server cast date dd/mm/yyyy
--string to date
SELECT cast(convert(date, '23/07/2009', 103) AS DATE)
select convert(date, '23/07/2009', 103)
--string to date
SELECT cast(convert(date, '23/07/2009', 103) AS DATE)
select convert(date, '23/07/2009', 103)