|
First
of all ..... your query where statement is joining the emp table to itself
on deptno. But, since you are specifying the dept table you have a
cartesian join in progress. Now, instead of the correct return of
records you are about to get 100 x 10 or 1000 records.
That
in mind, the function should be ran once for each record in the result
set.
|
- 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
- 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
- RE: SQL Question Mercadante, Thomas F
- RE: SQL Question Amar Kumar Padhi
- Re: SQL Question Yosi Greenfield
