Not easy, but not impossible. Declare @file INT, @fs INT, @ole INT, @pdf VARCHAR(100), @trenutniRed NVARCHAR(200), SELECT @pdf = 'C:' +...
--Look at this snippet -- Test setup if object_id('tempdb..#tally') is not null drop table #tally if object_id('tempdb..#temp') is not null...
Separate names with a comma.