IF NOT EXISTS (select * from dbo.sysobjects where Name = 'Tbl_Dates')
BEGIN
  CREATE TABLE [dbo].[Tbl_Dates](
	[ShamsiDate] [VARCHAR](10) NOT NULL,
	[Date] [DATE] NOT NULL,
 CONSTRAINT [PK_Tbl_Dates] PRIMARY KEY CLUSTERED 
(
	[Date] ASC
)
) ON [PRIMARY]
End