03 2009 档案

摘要:[代码] 阅读全文

posted @ 2009-03-30 16:27 Leon0812 阅读(131) 评论(0) 推荐(0) |

摘要:人终要长大的,换言之,是自己慢慢学着长大。在人生的道路上一步一个脚印,或深或浅记录着芸芸众生成长的深度。成长越慢的人往往受到的伤就会越多,面对伤痕我们要做的不仅仅是承受,更多的是要感恩。感谢那些让你受伤的事情,忘记那些让你受伤的人,伤害也许是无意的,成长却是必须的。 一,发现自己不在盲目地喜欢跟风似的和一群人混在一起,开始尊重自己的意愿,做自己需要的事情,开始安排自己的种种计划,规划自己的方向,自... 阅读全文

posted @ 2009-03-19 17:51 Leon0812 阅读(211) 评论(0) 推荐(0) |

摘要:我们在处理任何一件事情的时候,脑袋自觉或不自觉的在走一条路,这条路就叫做思路。好比我正在写这些东西,就在走路。走这条路,都有一个目的地,那就是问题解决的终点站。当没有方向时候,我们说没有思路;当走不通的时候,我们说短路了;当反应敏捷,迅速解决问题,我们说上了高速公路了,哈哈,开个玩笑。 我们知道,这个思路是很重要的。而我要说的是,在解决问题的时候,反思我们的“思路”尤为重要... 阅读全文

posted @ 2009-03-17 11:23 Leon0812 阅读(201) 评论(0) 推荐(0) |

摘要:原文:《SQL优化-索引》http://database.ctocio.com.cn/tips/272/7588272.shtml1.聚集索引(clustered index,也称聚类索引、簇集索引),就是数据排列的物理结构顺序。好比查新华字典,知道拼音直接查字,声母b的一定是排在a的后面,一本字典有且只有这一种排列顺序。所以说聚集索引一张表只能有一个。2.非聚集索引(nonclustered i... 阅读全文

posted @ 2009-03-17 09:12 Leon0812 阅读(288) 评论(0) 推荐(0) |

摘要:1. 对查询进行优化,应尽量避免全表扫描,首先应考虑在 where 及 order by 涉及的列上建立索引。 2. 应尽量避免在 where 子句中对字段进行 null 值判断,否则将导致引擎放弃使用索引而进行全表扫描,如:  select id from t where num is null  可以在num上设置默认值0,确保表中num列没有null值,然后这样查询:  select id ... 阅读全文

posted @ 2009-03-16 13:57 Leon0812 阅读(258) 评论(0) 推荐(0) |

摘要:[代码] 阅读全文

posted @ 2009-03-13 16:12 Leon0812 阅读(311) 评论(0) 推荐(0) |

摘要:[代码] 阅读全文

posted @ 2009-03-12 16:28 Leon0812 阅读(266) 评论(0) 推荐(0) |

摘要:Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System; using System.Collections.Generic; using System.Text; using System.Xml; using Syst... 阅读全文

posted @ 2009-03-12 16:21 Leon0812 阅读(316) 评论(0) 推荐(0) |

摘要:Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System; using System.IO; using System.Text; using System.Data; namespace DbConvert { /*... 阅读全文

posted @ 2009-03-12 16:12 Leon0812 阅读(258) 评论(0) 推荐(0) |

摘要:獲取URL: 重點: HttpContext.Current.Request.Url.Authority + HttpContext.Current.Request.ApplicationPath Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-... 阅读全文

posted @ 2009-03-02 11:27 Leon0812 阅读(202) 评论(0) 推荐(0) |

博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3