if exists (select * from dbo.sysobjects where Name = 'DF_Account_Parent_Code')
ALTER TABLE [dbo].[Account] DROP CONSTRAINT DF_Account_Parent_Code


Alter Table Account Alter Column Autoid int Not Null
Alter Table Account Alter Column Parent_Code int Null
