ALTER TABLE [dbo].[HSAGBILGI] drop  CONSTRAINT [DF_HSAGBILGI_AGRIVAR] 
GO
ALTER TABLE [dbo].[HSAGBILGI] drop  CONSTRAINT [DF_HSAGBILGI_FONKSIYONELRISKVAR] 
GO
ALTER TABLE [dbo].[HSAGBILGI] drop  CONSTRAINT [DF_HSAGBILGI_BESLENMERISKIVAR] 
GO
ALTER TABLE [dbo].[HSAGBILGI] drop  CONSTRAINT [DF_HSAGBILGI_DUSMERISKIVAR] 
GO
ALTER TABLE HSAGBILGI ALTER COLUMN AGRIVAR INT NOT NULL 

GO
ALTER TABLE HSAGBILGI ALTER COLUMN FONKSIYONELRISKVAR INT NOT NULL
GO
ALTER TABLE HSAGBILGI ALTER COLUMN BESLENMERISKIVAR INT NOT NULL
GO
ALTER TABLE HSAGBILGI ALTER COLUMN DUSMERISKIVAR INT NOT NULL
GO

ALTER TABLE [dbo].[HSAGBILGI] ADD  CONSTRAINT [DF_HSAGBILGI_AGRIVAR]  DEFAULT ((0)) FOR [AGRIVAR]
GO
ALTER TABLE [dbo].[HSAGBILGI] ADD  CONSTRAINT [DF_HSAGBILGI_FONKSIYONELRISKVAR]  DEFAULT ((0)) FOR [FONKSIYONELRISKVAR]
GO
ALTER TABLE [dbo].[HSAGBILGI] ADD  CONSTRAINT [DF_HSAGBILGI_BESLENMERISKIVAR]  DEFAULT ((0)) FOR [BESLENMERISKIVAR]
GO
ALTER TABLE [dbo].[HSAGBILGI] ADD  CONSTRAINT [DF_HSAGBILGI_DUSMERISKIVAR]  DEFAULT ((0)) FOR [DUSMERISKIVAR]
