本帖最后由 hsbraver 于 2010-11-18 09:58:13 编辑

解决方案 »

  1.   

    oracle 中每种类型的语句都需要如下阶段:
    •        第1步: Create a Cursor     创建游标
    •        第2步: Parse the Statement  分析语句
    •        第5步: Bind Any Variables    绑定变量
    •        第7步: Run the Statement    运行语句
    •        第9步: Close the Cursor     关闭游标
    如果使用了并行功能,还会包含下面这个阶段:
    •        第6步: Parallelize the Statement   并行执行语句
    如果是查询语句,则需要以下几个额外的步骤,如图 3所示:
    •        第3步: Describe Results of a Query   描述查询的结果集
    •        第4步: Define Output of a Query      定义查询的输出数据
    •        第8步: Fetch Rows of a Query        取查询出来的行