版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/yb464855952/article/details/84066418
DML语句处理:
每种类型的语句都需要如下阶段
第1步: Create a Cursor 创建游标
第2步: Parse the Statement 分析语句
第5步: Bind Any Variables 绑定变量
第7步: Run the Statement 运行语句
第9步: Close the Cursor 关闭游标
如果使用了并行功能,还会包含如下阶段。
第6步: Parallelize the Statement 并行执行语句
如果是SELECT 查询语句,则需要如下额外步骤
第3步: Describe Results of a Query 描述查询的结果集
第4步: Define Output of a Query 定义查询的输出数据
第8步: Fetch Rows of a Query 取查询出来的行