IF OBJECT_ID('PBM_CREDENCIAL') IS NULL
BEGIN
	CREATE TABLE PBM_CREDENCIAL(
		cd_emp int NOT NULL,
		cd_filial int NOT NULL,
		cd_tp_pbm int NOT NULL,
		usuario varchar(25) NULL,
		senha varchar(25) NULL,
		url varchar(100) NULL,
		ambiente int NULL,
		ativar_autenticacao bit NULL,
	 CONSTRAINT PK_PBM_CREDENCIAL PRIMARY KEY CLUSTERED (cd_emp ASC, cd_filial ASC,	cd_tp_pbm ASC)
	 )
END
 



