if not exists(select 1 from syscolumns where id = object_id('EST_PED_VD') and name = 'PLACA_VEIC')
begin
ALTER TABLE dbo.EST_PED_VD ADD
	PLACA_VEIC varchar(50) NULL,
	PLACA_UF varchar(4) NULL,
	CGC_CPF_TRANSP varchar(50) NULL,
	ENDE_TRANSP varchar(60) NULL,
	DS_CID_TRANSP varchar(60) NULL,
	UF_TRANSP varchar(4) NULL,
	INSC_EST_TRANSP varchar(50) NULL

ALTER TABLE dbo.EST_PED_VD ADD CONSTRAINT
	DF_EST_PED_VD_PLACA_VEIC DEFAULT '' FOR PLACA_VEIC

ALTER TABLE dbo.EST_PED_VD ADD CONSTRAINT
	DF_EST_PED_VD_PLACA_UF DEFAULT '' FOR PLACA_UF

ALTER TABLE dbo.EST_PED_VD ADD CONSTRAINT
	DF_EST_PED_VD_CGC_CPF_TRANSP DEFAULT '' FOR CGC_CPF_TRANSP

ALTER TABLE dbo.EST_PED_VD ADD CONSTRAINT
	DF_EST_PED_VD_ENDE_TRANSP DEFAULT '' FOR ENDE_TRANSP

ALTER TABLE dbo.EST_PED_VD ADD CONSTRAINT
	DF_EST_PED_VD_DS_CID_TRANSP DEFAULT '' FOR DS_CID_TRANSP
ALTER TABLE dbo.EST_PED_VD ADD CONSTRAINT
	DF_EST_PED_VD_UF_TRANSP DEFAULT '' FOR UF_TRANSP
ALTER TABLE dbo.EST_PED_VD ADD CONSTRAINT
	DF_EST_PED_VD_INSC_EST_TRANSP DEFAULT '' FOR INSC_EST_TRANSP
end