
/*------ ATD 440269 ------*/
IF NOT EXISTS (SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'COMPLEMENTONFENTRA' AND COLUMN_NAME = 'FLAGDESPINCLUSANAOTRIBUTADA')
BEGIN
    ALTER TABLE COMPLEMENTONFENTRA
    ADD FLAGDESPINCLUSANAOTRIBUTADA TINYINT NULL
END