UPDATE TBDD_BASECONFIG SET DB_VERSION = '1.9.6.0'
IF NOT EXISTS(SELECT 1 FROM sys.columns 
          WHERE Name = N'LANGUAGE_OVERRIDE'
          AND Object_ID = Object_ID(N'dbo.TBDD_USER_MODULE_LOG_IN'))
BEGIN
    -- Column Exists
	ALTER TABLE TBDD_USER_MODULE_LOG_IN ADD LANGUAGE_OVERRIDE VARCHAR(5) NOT NULL DEFAULT ''
END
ELSE
PRINT 'COLUMN EXISTS'

IF NOT EXISTS(SELECT 1 FROM sys.columns 
          WHERE Name = N'LANGUAGE_OVERRIDE'
          AND Object_ID = Object_ID(N'dbo.TBDD_USER_LOGIN_OUT'))
BEGIN
    -- Column Exists
	ALTER TABLE TBDD_USER_LOGIN_OUT ADD LANGUAGE_OVERRIDE VARCHAR(5) NOT NULL DEFAULT ''
END
ELSE
	PRINT 'COLUMN EXISTS'
