学院首页>网络编程>ORACLE>Oracle SQL性能优化系列讲座之一

Oracle SQL性能优化系列讲座之一

作者:陈毅 来源:blog 添加时间:2006-6-21 2:42:51

  C. 两个SQL语句中必须使用相同的名字的绑定变量(bind variables)

  例如:

  第一组的两个SQL语句是相同的(可以共享),而第二组中的两个语句是不同的(即使在运行时,赋于不同的绑定变量相同的值)

  a.

select pin , name from people where pin = :blk1.pin;
  select pin , name from people where pin = :blk1.pin;

  b.

select pin , name from people where pin = :blk1.ot_ind;
  select pin , name from people where pin = :blk1.ov_ind;

第 2 页,共 2 页 [1] [2]
上一篇:Oracle数据库系统紧急故障处理方法
下一篇:没有下篇文章
站内搜索