
/*------ ATD 288115 ------*/
-- Alteracao da estrutura da tabela TRANSACAOCARTAO
IF NOT EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'TRANSACAOCARTAO' AND COLUMN_NAME = 'ATUALIZADOEM') 
alter TABLE dbo.TRANSACAOCARTAO add ATUALIZADOEM DATETIME
go

IF NOT EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'TRANSACAOCARTAO' AND COLUMN_NAME = 'NUMORD') 
alter TABLE dbo.TRANSACAOCARTAO add NUMORD INT
go
