tiny features : Truncate table in 12c

New Features with Database 12c , CASCADE Usually used with Drop or update command (10g,11g) But now with Database 12c , you can use this features with Truncate command

SQL> select * from test ;
no rows selected
SQL> desc test ;

 Name   Null?    Type
 ----------------------------------------- -------- ----------------------------
 TEST_ID   NOT NULL NUMBER
 TEST_NAME    VARCHAR2(20)
SQL> truncate table test cascade ;
Table truncated.
More Features coming up :)
Thank you 
Osama mustafa

Comments

Popular posts from this blog

Connection refused; No available router to destination On Weblogic Node Manager Log

How to change SGA in Oracle Rac

SGA_MAX_SIZE & SGA_TARGET / MEMORY_TARGET & MEMORY_MAX_TARGET