DATETIME) IF ((@MinPopulationYear IS NULL) OR (@MaxPopulationYear IS NULL)) BEGIN - Auffüllen von '@NewMinPopulationYear' ...

] DATETIME) 
        
        IF ((@MinPopulationYear IS NULL) OR (@MaxPopulationYear IS NULL))
            BEGIN
                -- Auffüllen von '@NewMinPopulationYear' bis '@NewMaxPopulationYear'    
                SELECT @time = @NewMinPopulationYear
                WHILE @time < DATEADD(Year, 1, @NewMaxPopulationYear)
                BEGIN
                    INSERT INTO #temp
English
English (United States)
Deutsch (Deutschland)
German (Germany)
Español (España)
Spanish (Spain)
Français (France)
French (France)
日本語
Japanese
한국어
Korean