IF (EXISTS(Select * from sys.systable where LCase(table_name) = LCase('v_BusyRoomsForDataJoin'))) THEN update Relations set TableName='//v_BusyRoomsForDataJoin' where TableName='v_BusyRoomsForDataJoin' and ColName='__OPTIONS__'; END IF //Maria - zakomentirane na spravka "Zaetost za data"