 IF NOT EXISTS (SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'RC_MDL_VENDA' AND COLUMN_NAME = 'TP_IMPRESSAO')
 BEGIN 
	ALTER TABLE RC_MDL_VENDA ADD TP_IMPRESSAO INT  CONSTRAINT DF_RC_MDL_VENDA_TP_IMPRESSAO DEFAULT (0)
 END 
