IF NOT EXISTS(SELECT 1 FROM SYSCOLUMNS WHERE ID = OBJECT_ID('CTB_EXP_MOV') AND NAME = 'COD_INTERNO')
BEGIN 
	 ALTER TABLE DBO.CTB_EXP_MOV ADD COD_INTERNO INT NULL
	 ALTER TABLE DBO.CTB_EXP_MOV ADD CONSTRAINT DF_CTB_EXP_MOV_COD_INTERNO DEFAULT 0 FOR COD_INTERNO
END

