| 发表于:2007-01-27 10:53:05 楼主 |
现在我有一条语句 select * from table1 t1, table2 t2 where t1.fcode = t1.fcode and t1.fname = '123 ' and t2.ftime = '2007-01-01 ' 这个语句是在一个游标里使用的, 这条语句执行的时候大概要0.3秒, 这样,如果需要重复执行1000遍的话, 那就是5分钟了。 如何提高这种语句的执行效率啊? 有没有使用参数的方式,使得oracle不需要每次都解析呀? |
|
|
|
|