|
Good morning,
Env't: Oracle 8.1.5, HP-UX 11.0 (64
bit)
Given the following tables:
emp with 100 rows
dept with 10 rows
and this SQL:
select emp.ename,
initcap(dept.deptname)
from emp.dept
where emp.deptno = emp.deptno;
The questions -
How many times is the initcap(dept.deptname)
function actually "executed"?
Is it once for each emp row (100 times) or once for
each dept row (10 times) or some other value?
Another scenario -
Would it be faster to retrieve rows with a
bunch of similar functions (initcap, concatenations of columns and/or literals,
etc) or to have and maintain the data in columns with the data formatted as
such?
TIA gurus...
Steve Haas
Opus Consultants, LLC |
- RE: SQL question Jamadagni, Rajendra
- Re: SQL question Diana_Duncan
- SQL question Rok Kodrun
- Sql question Shaw, John B
- RE: Sql question Koivu, Lisa
- RE: Sql question Mercadante, Thomas F
- RE: Sql question Yosi
- RE: Sql question Larry Elkins
- Re: Sql question Stephane Faroult
- RE: Sql question Hillman, Alex
- RE: SQL Question Steve Haas
- RE: SQL Question Christopher Spence
- Re: SQL Question Joe Testa
- RE: SQL Question Kevin Lange
- Re: SQL Question Pat Hildebrand
- RE: SQL Question Suhen Pather
- Re: SQL Question Joe Testa
- Re: SQL Question Yosi Greenfield
- Re: SQL Question Scott Canaan
- SQL Question Bill Tantzen
- Re: SQL Question nlzanen1
