By oversight I truncated one table. How do I retrieve the records from the truncated table?

    Requires Free Membership to View

How you retrieve the records depends on your backup strategy. Since TRUNCATE is a DDL command, you cannot roll it back. And you cannot undo the operation by mining the archived redo logs. If you have a backup, you can restore from the backup and roll forward to the point in time before your issued the TRUNCATE command. This assumes you are running in ARCHIVELOG mode. You will lose all transactions since the TRUNCATE command was issued.

This was first published in July 2006

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: