Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 2808

An operation that removes all rows in a table without causing any triggered action

17 votes
Accepted

Why is truncate DDL?

Oracle clearly classifies TRUNCATE as DDL in the Concepts Guide, but DELETE as DML. … The main points that put TRUNCATE in the DDL camp on Oracle, as I understand it, are: TRUNCATE can change storage parameters (the NEXT parameter), and those are part of the object definition - that's …
Mat's user avatar
  • 10.2k
6 votes
Accepted

After truncating a single partition its Primary key's index becomes unusable and all inserts...

Specifically for truncate partition: For each partition or subpartition truncated, Oracle Database also truncates corresponding local index partitions and subpartitions. …
Mat's user avatar
  • 10.2k