How to Convert date format
Date is 20190101
i am passing it to Stored Procedure.
i want this date to be save into table in '2019-09-11 00:00:00.000' Format.
how to achieve this?
Hi chetan,
Use Convert function to insert.
SELECT CONVERT(DATETIME,'20190911',101)
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.