阅读背景:

在SQL Server中使用spWriteStringToFile时文件开头的BOM

来源:互联网 

I'm using SQL server to export data from a query in both HTML and CSV format. I also write out a batch file which calls CoreFTP to SFTP these files to a site. There is a nightly process that calls the batch file and SFTP these files. Everything has the potential to work except that the batch file has a BOM (byte order mark) at the start which cmd.exe chokes on. At least I think that is what it is.I'm using SQL server to export data from a quer




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: