IF NOT EXISTS (SELECT * FROM sysobjects WHERE name = 'GLB_INTEGRA_SUPER_TROCO' and xtype = 'U') 
BEGIN 
	CREATE TABLE GLB_INTEGRA_SUPER_TROCO (
		CD_INTEGRA_SUPER_TROCO int IDENTITY(1, 1) PRIMARY KEY,
		DESCRICAO varchar(100) NOT NULL,
		STATUS int NOT NULL,
		USUARIO_SUPER_TROCO varchar(100) NOT NULL,
		SENHA_SUPER_TROCO varchar(100) NOT NULL,
		URL_COMUNICACAO varchar(255) NOT NULL,
		TIMEOUT_COMUNICACAO int NOT NULL,
		PIN_CONTROLE_SUPER_TROCO varchar(100) NOT NULL,
		CD_FORN_SUPER_TROCO int NOT NULL,
		FLAG_HABILITADO int NOT NULL,
		OFERTA_PINPAD int NOT NULL,
		OPERACAO_TROCO int NOT NULL,
		OPERACAO_OUTROS_MEIOS_PGTO int NOT NULL,
		ALERTA_CANCELAMENTO int NOT NULL,
		CD_USU int NOT NULL,
		DT_ULT_ALT datetime NULL,
		DT_CADASTRO datetime NOT NULL
	)
END