Why these two methods using cursor to acquire table_name and then using this table_name to select its returned lines is always encoutered a weird error?

From: Quanwen Zhao <quanwenzhao_at_gmail.com>
Date: Thu, 9 Dec 2021 16:31:35 +0800
Message-ID: <CABpiuuTKYRhaE57T2ELeqmh3gpGamfhMHKg_k1auaF5ZoMxOFw_at_mail.gmail.com>



Hello my friends 😊,

I've written two anonymous plsql blocks checking those tables (starting with "DBA_HIST_" in SYS schema of oracle database) returned line is 0, but it's always encountered an error.

Here's my PL/SQL code:

Could you help me troubleshooting it? Thanks beforehand 🙏.

Best Regards
Quanwen Zhao

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Dec 09 2021 - 09:31:35 CET

Original text of this message