拗口翻译
I find many times people use temporary tables because they learned in other databases that joining too many tables in a single query is a ?bad thing?. This is a practice that must be unlearned for Oracle development. Rather then trying to out‐smart the optimizer and breaking what should be a single query into three or four queries that store their sub results into temporary tables and then joining the temporary tables, you should just code a single query that answers the original question. Referencing many tables in a single query is OK; the temporary table crutch is not needed in Oracle for this purpose.
extract expert one-on-one oracle P.321
轉載于:https://www.cnblogs.com/mzwang123/archive/2010/04/19/1715672.html
總結
- 上一篇: 关于sqlserver中xml数据的操作
- 下一篇: Drools规则引擎使用入门