﻿ 
                DROP TABLE IF EXISTS tmpForSwitchDictionaryItemBase 
                CREATE TABLE tmpForSwitchDictionaryItemBase(RegiID int, UjID int, TanevID int, C_NAME nvarchar(500), C_TYPE nvarchar(64))
                DECLARE @TEMP_EnvironmentName nvarchar(1000)  
                SET @TEMP_EnvironmentName = (SELECT TOP 1 [Value] FROM dev.EnvironmentInfo WHERE [Key] = 'Kornyezet')
                 
                EXEC [dev].uspSwitchDictionaryItemBaseFromTmp 