IF NOT EXISTS (SELECT 1 FROM SYSCOLUMNS WHERE ID = OBJECT_ID('EST_NF_SAI_EST_WMS_ENT') AND name = 'NM_ORIG')
begin
	ALTER TABLE dbo.EST_NF_SAI_EST_WMS_ENT ADD
		NM_ORIG VARCHAR(150) NOT NULL CONSTRAINT DF_EST_NF_SAI_EST_WMS_ENT_NM_ORIG DEFAULT ''
end	