随笔分类 - 数据库
摘要:.数据量过大,且采用的是同步,单个excel sheet 13万+数据; .导入前验证,每行某列 验证,频繁和数据库交互 .使用很老的微软企业库进行批量插入操作,效率低下 ,插入后,又批量进行执行sql修改操作 ; 3 解决方案: 修改excel转table 的方案由OpenXMLHelper 转换
阅读全文
摘要:利用windows身份验证进入查询分析器后在master数据库下运行如下脚本: 1 create procedure sp_password 2 @old sysname = NULL, -- the old (current) password 3 @new sysname, -- the new...
阅读全文
摘要:关于使用事务有几点不太明确: 1事务对象关联的Connection对象在操作的时候不能被其他对象调用,但大部分代码没有用lock锁住,是否在OracleTransaction对象中已经封装好了呢? 2OracleTransaction对象的创建需要借助Connection对象来做,不能独立创建么?下面是测试过的代码:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Configuration;using System.Data;using Oracle.D
阅读全文

浙公网安备 33010602011771号