How to save Hijri dates (0000/01/01-9999/01/01) in Microsoft SQL Server tables? What type of column? I choose datetime2, is it right?
datetime2
CRE
This help me a lot.
Declare @Hdate nvarchar(50) set @Hdate = convert(varchar(10),convert(date,convert(varchar(12),getdate(),131),103),112)