摘要
为提高数据库的运行效率,分析了影响结构化查询语言(SQL)查询语句执行效率的因素,并在此基础上,研究了对SQL查询语句进行优化的基本方法,包括数据类型、搜索参数、数学操作符等方面的合理使用。同时指出,实践中程序员应反复试验、比较不同的语句,以得到最佳的方案。
To improve the operation efficiency of database, factors influencing the execution efficiency of inquiry statements in structured query language (SQL) are analyzed. On this basis, optimization of SQL inquiry statements is studied in terms of data types, search parameters and math operational characters. Meanwhile, it is indicated that programmers should repetitively test and compare various statements in practice so as to achieve the best scheme.
出处
《广东电力》
2005年第7期48-49,72,共3页
Guangdong Electric Power
关键词
关系数据库
结构化查询语言(SQL)
查询语句
优化
relational database (RDB)
structured query language (SQL)
inquiry statement
optimization