Skip to Main Content
  • Questions
  • java.sql.SQLException: ORA-08103: object no longer exists

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question.

Asked: April 07, 2025 - 3:13 pm UTC

Last updated: April 10, 2025 - 5:57 am UTC

Version: "Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production Version 19.23.0.0.0"

Viewed 100+ times

You Asked

Hi,

I am getting error Ora-08103: Object No longer exists when select query uses type object in a procedure.

below the code used for select query

procedure upp_rate is

l_typ_detail_list typ_detail_list;

begin

select typ_oc_sec_detail(
sec_sid,
fed_open_rate,
eql_avg_rate_5,
eql_avg_rate_all,
ast_loan_rate_avg,
src_date,
null,
null,
shortcode,
cusip,
bbg_ticker,
sedol,
isin,
security_type,
dtc_eligible_derived,
country_of_quotation,
dtc_do_chill_ind,
settlement_agency )
bulk collect into l_typ_detail_list
from vw_details
;


type typ_detail_list as table of typ_detail ;

typ_detail object defined at oracle database.


Please can you help me in finding out why would the select queries throw Ora:08103 error and resolution for the same.


Thanks,
Raja

and Connor said...

Its likely nothing to do with your code, but what someone else is doing.

If they truncate / drop an object that you are actively using, you'll get this, eg



Rating

  (1 rating)

Comments

Awesome

Raja, April 09, 2025 - 5:46 pm UTC

Thank You!
Connor McDonald
April 10, 2025 - 5:57 am UTC

glad to help

More to Explore

PL/SQL demos

Check out more PL/SQL tutorials on our LiveSQL tool.

PL/SQL docs

PL/SQL reference manual from the Oracle documentation library