336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
- Removes all rows from a table, leaving the table empty and the table sturcture intact
- Is a data definite language(DDL) statement rather than a DML statement; cannot easily be undone. (You don't have to commit to imply the result. it will implicitly commit. == Generate no rollback information)
- If the table is the parent of a referential integrity constraint, you cannot truncate the table. You need to disable the constraint before issuing the TRUNCATE statement.
- Syntax
TRUNCATE TABLE table_name;
ex) TRUNCATE TABLE copy_emp;
'Oracle' 카테고리의 다른 글
Database Transactions (0) | 2006.09.02 |
---|---|
TRUNCATE statement (0) | 2006.09.02 |
DELETE Statement (0) | 2006.09.02 |
DELETE Statement (0) | 2006.09.02 |
UPDATE Statement syntax (0) | 2006.09.02 |