kimipan

Tom法则 挺有意思。。。

My mantra, that I'll be sticking with thank you very much, is:

1.You should do it in a single SQL statement if at all possible.
2.If you cannot do it in a single SQL Statement, then do it in PL/SQL.
3.If you cannot do it in PL/SQL, try a Java Stored Procedure.
4.If you cannot do it in Java, do it in a C external procedure.
5.If you cannot do it in a C external routine, you might want to seriously think about why it is you need to do it…

think in sets...

内容有意义,但我觉得语句更有意思,喜欢这种风格。。。

posted on 2009-08-31 16:59 kimipan 阅读(111) 评论(0)  编辑 收藏 引用

只有注册用户登录后才能发表评论。