当一个oracle实例接收到一条sql后,执行过程如下:
1) create a cursor 创建游标
2) parse the statement 分析语句
3) describe results of a query 描述查询的结果集
4)define output of a query 定义查询的输出数据
5)bind any variables 绑定变量
6)parallelize the statement 并行执行语句
7)run the statement 运行语句
8)fetch rows of a query 取查询结果
9)close the cursor 关闭游标
参考:
http://www.cnblogs.com/wishyouhappy/p/3684148.html
常用sql语句及案例(oracle)