
  IF NOT EXISTS (SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'RC_MDL_VENDA' AND COLUMN_NAME = 'MSG_VENDA_CREDIARIO')
 BEGIN 
	ALTER TABLE RC_MDL_VENDA ADD MSG_VENDA_CREDIARIO VARCHAR(300)COLLATE SQL_Latin1_General_CP1_CI_AS  CONSTRAINT DF_RC_MDL_VENDA_MSG_VENDA_CREDIARIO DEFAULT ('')
 END  