I am using the following statement to output a file:<br><br>declare @str varchar(255)<br>select @str = 'isql -Q "select * from <tablename>" -E > c:\file.txt'<br>exec master..xp_cmdshell @str<br><br>Does anyone know how to set the delimeter for this file,<br>at the moment I am getting fixed widths within the output<br>file. DB=SQLServer 7 OS=WinNT 4.0 SP 6<br>Thanks - Yorke<br>