Database DataWarehousing (MOSC)

MOSC Banner

Truncate reference partitioned tables

edited Jan 14, 2010 12:51AM in Database DataWarehousing (MOSC) 3 commentsAnswered
Hi all,

I have problem truncating tables that use Oracle 11g reference partitioning. Normally, before truncating table you need to disable all constraints on the table. But in the case when reference partitioning is used, you cannot disable FK constraints and therefore TRUNCATE operation will fail.

Does anyone know workaround for this issue? Using DELETE statement is not solution for me because of huge number of rows in the tables. 

Thanks,

Samir

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center