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 😊,
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:
- *https://gist.github.com/guestart/1e0f49089530564a9f7c01b015416ad7*
<https://gist.github.com/guestart/1e0f49089530564a9f7c01b015416ad7>
- *https://gist.github.com/guestart/0ca72e5344aa3ecaf26b905337e1dcd8*
<https://gist.github.com/guestart/0ca72e5344aa3ecaf26b905337e1dcd8>
Could you help me troubleshooting it? Thanks beforehand 🙏.
Best Regards
Quanwen Zhao
-- http://www.freelists.org/webpage/oracle-lReceived on Thu Dec 09 2021 - 09:31:35 CET