[sql] view plaincopy --1.修改系统参数 --修改高级参数 sp_configure 'show advanced options',1 go --允许即席分布式查询 sp_configure 'Ad Hoc Distributed Queries',1 go --如果配置的值不在合理范围(在最小值最大值范围内),那么可以强制覆盖 reconfigure with override go sp_configure 'xp_cmdshell',1 go reconfigure…
//方法一(每次只读取一个字节) public static void getFile() throws IOException { File file = new File("D:\\a.txt"); FileInputStream fileinputstream = new FileInputStream(file); int data = fileinputstream.read(); int data1 = fileinputstream.read(); System.out.…
//http://www.cnblogs.com/mingmingruyuedlut/archive/2013/01/20/2849906.html C# 将List中的数据导入csv文件中 将数据保存至文件中,是一个比较常用的功能,数据源可以是多种形式,文件也可以是多种. 这里简单的介绍将List数据导入到CSV文件中的方法. 代码如下所示: Student类: public class Student { private string id; public string Id { get…