Dict.CN 在线词典, 英语学习, 在线翻译 ------------- MyGitee My腾云code

Happy_EveryDay

可以平凡 不可以平庸 无爱则无忧,无欲则无求,无怒而无敌,无怨才是佛。所有烦恼,都是放不下的执著 开源技群 328035181 MyGitee

2008年12月20日

Writing Better Code

摘要: Writing maintainable code is an art form that should be practiced by every developer because if the code we write can not be maintained then there will come a point where it won’t be useful anymore an... 阅读全文

posted @ 2008-12-20 12:39 cn2025 阅读(237) 评论(0) 推荐(0)

索引

摘要: 一个表上可建多个索引。 索引可以提高查询效率,但索引过多耗费空间,且降低了插入、删除、更新的效率 较适合常用"select比较多"的表 索引相当于一个目录 加快你查询的 只不过是一个虚拟的,对用户来说是透明看不到的 CREATE INDEX index_name ON table_name (column_name) 在良好的数据库设计基础上,能有效地使用索引是SQL Serve... 阅读全文

posted @ 2008-12-20 12:14 cn2025 阅读(176) 评论(0) 推荐(0)

测试sql 查询时间

摘要: select getdate() as begindate SELECT * FROM [test].[dbo].[User]select getdate() as enddate 阅读全文

posted @ 2008-12-20 11:30 cn2025 阅读(236) 评论(0) 推荐(0)

循环插入多条数据

摘要: declare @i int set @i = 1while @i < 100000 begin INSERT INTO [User] (AppId,UserId,UserName ,PassWord) VALUES (newid(),newid(),'11' ,'11') set @i = @i + 1 end 阅读全文

posted @ 2008-12-20 10:36 cn2025 阅读(229) 评论(0) 推荐(0)

导航