Skip to Main Content

SQLcl

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

issue when using parameter flashbackscn SQLCL PLS-00201: identifier 'DBMS_FLASHBACK' must be declared

zakiHNov 20 2024

issue on pump export using sqlcl

Additional Information: ORA-06550: line 44, column 81:
PLS-00201: identifier 'DBMS_FLASHBACK' must be declared
ORA-06550: line 44, column 5:
PL/SQL: Statement ignored

the statement used is

dp export  -ve TRUE  -
  -filesize 6GB  -
  -d dump_dir -
  -f export_file.dmp  -
  -logdirectory dump_dir_log -
  -logfile log-export.log -
  -schemas vente -
  -reusefile TRUE -
  -flashbackscn TRUE -
  -version latest

if -flashbackscn TRUE is not used , it will work fine

dp export  -ve TRUE  -
  -filesize 6GB  -
  -d dump_dir -
  -f export_file.dmp  -
  -logdirectory dump_dir_log -
  -logfile log-export.log -
  -schemas vente -
  -reusefile TRUE -
  -version latest
sqlcl version
Oracle SQLDeveloper Command-Line (SQLcl) version: 24.3.1.0 build: 24.3.1.311.1631
SQL> select banner_full from v$version;
Oracle Database 23ai Free Release 23.0.0.0.0 - Develop, Learn, and Run for Free
Version 23.5.0.24.07

..

This post has been answered by Solomon Yakobson on Nov 20 2024
Jump to Answer
Comments
Post Details
Added on Nov 20 2024
2 comments
43 views