摘要:
错误页面显示如下信息Server Application ErrorThe server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance. (或HTTP 错误 500.19 - Internal Server Error)原因:一般出 阅读全文
摘要:
下面是例子分析 表A记录如下: id name 2 jack 4 hello 9 heihei 3 world 1 dream 表B记录如下: id name 2 miaomiao 4 yanyan 7 jack 创建这两个表SQL语句如下: create table a ( id varchar( 阅读全文
摘要:
1.索引作用 在索引列上,除了上面提到的有序查找之外,数据库利用各种各样的快速定位技术,能够大大提高查询效率。特别是当数据量非常大,查询涉及多个表时,使用索引往往能使查询速度加快成千上万倍。 例如,有3个未索引的表t1、t2、t3,分别只包含列c1、c2、c3,每个表分别含有1000行数据组成,指为1~1000的数值,查找对应值相等行的查询如下所示。SELECT c1,c2,c3 FROM t1,t2,t3 WHERE c1=c2 AND c1=c3此查询结果应该为1000行,每行包含3个相等的值。在无索引的情况下处理此查询,必须寻找3个表所有的组合,以便得出与WHERE子句相配的那些行... 阅读全文