To answer your direct question a number table is pretty much an array. The function returns a pl/sql table of numbers. Here's a doc with the declaration: http://download.oracle.com
Main Topics
Browse All TopicsI have this function return in database and the program calls below method to fetch all members . I was wondering where the select query is written to fetch members. we have a user table where all memebers are stored. Can anybody explaing below function which is written in a package..
FUNCTION fetch_members (
par_search_ctx NUMBER,
par_fetch_size NUMBER := 10
)
RETURN dbms_sql.Number_Table; ------------------> What does this written? I am not sure of dbms_sql.Number_table -------------> can anybody help me to understand this statement.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
To answer your direct question a number table is pretty much an array. The function returns a pl/sql table of numbers. Here's a doc with the declaration: http://download.oracle.com
cutie_smily,
I'm not sure what you are using to look at the code. In TOAD you would click on the package name and there would be two objects - one for Package and one for Package Body. If you are using sql, you can query it like this:
in sqlplus:
set lines 100
set pages 50
select line,text from user_source where name='<package name in caps>' and type='PACKAGE BODY'
order by line
/
Good luck!
P.S. If that doesn't work, post the results of:
select distinct type from user_source;
I think that you cannot see package body since it is Oracle PL/SQL package. Here you can see more about this package:
http://download.oracle.com
Business Accounts
Answer for Membership
by: DrSQLPosted on 2008-07-11 at 07:30:29ID: 21982699
cutie_smily,
What you're seeing is just the package header. You need the package body to see the actual code.
Good luck!