Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> ALL_TABLES is different in PL/SQL ?
When I execute this SQL:
SELECT ROWNUM, OWNER, TABLE_NAME
FROM ALL_TABLES;
from SYSTEM user I get 83 rows.
When I execute the same selection from PL/SQL:
create or replace procedure testproc as cursor curtables is
select owner, table_name, rownum from all_tables;
dbms_output.put_line(curtablesrec.rownum|| ' - ' || curtablesrec.owner || ' - ' || curtablesrec.table_name);end loop;
I just get 18 rows. WHY???
Luca Minudel software designer Italy Conegliano (TV) voice & fax +39 (0)438 412280 e-mail luca.minudel_at_nline.it WWW (italian language used)http://www.geocities.com/SiliconValley/Vista/4041 Received on Tue Jun 16 1998 - 14:55:24 CDT
![]() |
![]() |