-- Colunas NT 005
IF NOT EXISTS(SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'CONTROLE_SALDO_ST' AND COLUMN_NAME = 'VALOR_UN_ICMS_SUBSTITUTO')
	
ALTER TABLE CONTROLE_SALDO_ST ADD VALOR_UN_ICMS_SUBSTITUTO NUMERIC(14,2)
 
 


IF NOT EXISTS(SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'CONTROLE_SALDO_ST' AND COLUMN_NAME = 'VALOR_UN_ICMS_SUBSTITUTO_ULT_NOTA ')
	
ALTER TABLE CONTROLE_SALDO_ST ADD VALOR_UN_ICMS_SUBSTITUTO_ULT_NOTA  NUMERIC(14,2)