随笔分类 -  SQL

Sql Server,MySql
摘要:sql 常用操作大全. 阅读全文
posted @ 2008-06-17 23:57 陋室 阅读(700) 评论(0) 推荐(0) 编辑
摘要:Cache Notifications in SQL Server 2000 or SQL Server 7 ASP.NET uses a polling model for SQL Server 2000 and SQL Server 7. Older versions of SQL Server and other databases aren’t supported (although third parties can implement their own solutions by creating a custom dependency class). With the polling model, ASP.NET keeps a connection open to the database and uses a dedicated thread to check periodically if a table has been updated. The effect of tying up one connection i 阅读全文
posted @ 2008-04-08 22:58 陋室 阅读(462) 评论(0) 推荐(0) 编辑
摘要:或许,在asp.net程序钟我们经常使用Transaction,但是我们很少去考虑它对我们程序Performance的影响.所以引起了很多问题,下面几点是我们应该在使用事务的时候应该注意的. 阅读全文
posted @ 2008-03-30 15:45 陋室 阅读(808) 评论(0) 推荐(0) 编辑
摘要:由于前段时间做大数据量的导入程序.在做的时候遇到的问题.几万条的数据从Excel中导入到数据库中,速度是非常的慢,程序简直不能运行,后来就研究了BCP命令的方式进行导入.几十万的数据也就几十秒,很快,所以将自己的小成果给大家分享.当然,可能有很多可以完善的地方,大家共同努力吧 使用BCP 命令输入大量的数据 1:目的:将大两数据输入sql server 等数据库 2:方法:BCP命令 3:实现方式: Sql 语句: 阅读全文
posted @ 2008-03-07 16:29 陋室 阅读(3462) 评论(20) 推荐(0) 编辑

点击右上角即可分享
微信分享提示