http://www.cnblogs.com/ke10/archive/2012/12/26/SqlExportFile.html 转载于:https://www.cnblogs.com/zhangliang0115/archive/2012/12/27/2835035.html