无法将日期“1438/02/29”保存到日期基础(仅此日期)
错误“字符串未被识别为有效的DateTime。无法存储 < 1438/02/29 GT;在LateDate专栏中。预期的类型是DateTime。“
答案 0 :(得分:0)
Use below conversion it is given hjri date to normal current datetime
Store data base into below format
SELECT CONVERT(datetime, '29/02/1438' , 131)
And get in below format
SELECT convert(nvarchar(255),'2016-11-29', 131)