Skip to Main Content

Oracle Database Discussions

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!

DDL in v$sql

652398Jul 8 2021

I run some DDL, such as "create table", "alter table", "drop table", "truncate table". However, I cannot find DDL in v$ views, such as v$sql. Why can't I find them? Is there some mistakes? Thanks a lot.

​SQL> create table temp (id number);
Table created.

SQL> select * from v$sqlarea where upper(sql_text) like 'CREATE%';
no rows selected

Comments
Post Details
Added on Jul 8 2021
6 comments
833 views