Hey, thanks,
but there is another way I found a few minutes ago:
declare @command varchar(250),
@filename varchar(250)
select @filename = '\\server\foo.txt'
select @command = 'TYPE ' + @filename
create table #tResults (line_id int identity, line_text varchar(800))
insert into #tResults
exec master..xp_cmdshell @command
select * from #tResults order by line_id
drop table #tResults
read row by row!
But thank you!
Alex