If you have access to My Oracle Support:
Space Used By Tables Are Not Being Re-used With Repeat Delete/insert Operation (Doc ID 1601805.1)
So, without just copy-pasting the contents from there, the above note states:
the space management algorithm prefers allocating more space over reusing already allocated but free space
this is not a bug, but a feature, ...
Attention to details is important. Go back to first principles (syntax) if stuck.
Create Table Vendor (
Vend_ID VARCHAR2(3) NOT NULL primary key,
Vendor_Name VARCHAR(50) NOT NULL,
Vendor_ST VARCHAR(25) NOT NULL
Just because you can jump off a cliff, doesn't mean you should.
Use REPLACE() with a token:
select REPLACE('SOMESTRING_##DATE##_SOME LOTS MORE STRINGS OF A FILENAME PREFIX',
You could take this a step further to allow different format strings:
with mytable as (
The syntax for impdp for Oracle 11 is here. The FILE parameter that you have used should be DUMPFILE. Log should be LOGFILE. Here is an example from the documentation
impdp hr DIRECTORY=dpump_dir1 DUMPFILE=expfull.dmp LOGFILE=dpump_dir2:expfull.log
AWR captures only the top N sql for each category (Elapsed time, CPU time, I/O time, Gets, Reads, etc.).
If you set this limit to MAXIMUM with DBMS_WORKLOAD_REPOSITORY.MODIFY_SNAPSHOT_SETTINGS, even that does not guarantee capturing all SQLs as they may age out from the shared pool between taking AWR snapshots.
If you want all SQLs to be logged, you can ...
In case you are writing the procedure yourself, you might want to consider to make it a function instead. While "procedure" and "function" are often treated as synonyms, in PL/SQL they are quite different and should be used accordingly.
If you need functionality that changes something (delete content, create new structures and so on), you should create a ...