RE: Explain truncate with restore option with example
Truncate command is a DDL command,
In oracle there is Autocommit after DDL command, so no rollback can be done, But if u want to restore your data, You can use your previous dump to restore your data back by using Oracle import utility.
RE: Explain truncate with restore option with example
Truncate is a DDL Command. When used in SQL Statement Deletes the data of the table permanently i.e It Cannot be rolledback Leaving only the structure behind.
Ex.truncate table tablename;
if the needs to be restored than use the delete command .
RE: Explain truncate with restore option with example
In oracle,DDL command,if u give TRUNCATE command,storage of data will get lost and structure of table will be there as it,roll back option is not there once u truncate the table