below is my code,
select @filename = '\\agmpimo173\Brio_Schedule\'+ @DailyFile.(i) +''
EXEC master..xp_fileexist @filename, @return OUTPUT
set @i = @i + 1
will i cannot really execute the code above to run and print the result as well... please help.. many thanx