‎2009 Mar 12 7:52 AM
hi experts,
please help in usage of package size in select query with where clouses
without for all enteries
regards
prashant
‎2009 Mar 12 7:57 AM
‎2009 Mar 12 8:01 AM
‎2009 Mar 12 8:05 AM
‎2009 Mar 12 8:31 AM
Hi Prashant,
Package size option in select query is useful in multiple cases:
- When the number of records accessed by the select query for the given where clause are very large and it may slow down the performance of the program. In this case package size option is used such that data is fetched in multiple hits.
- If the program is checking for a particular record from the database table having very large number of records without knowing the actual key. In this case package size can be used such that we can check for the existence of the required record after each fetching and can be exited from loop immediately after finding the record.
Thanks,
Sankar