|
-
I believe, there is no option cascade constraints in Truncate table.
Do this excercise.
1. spool trunc.sql
2. select 'truncate table ' || owner || '.' || table_name || ';' from sys.all_all_tables where owner in ('PERFSTAT');
Caution: The above will truncate all the tables owned by PERFSTAT.
2. spool off
3. Edit the trunc.sql and remove the unwanted scripts.
4. Then, finally run the trunc.sql
Hope this will work.
Sathish
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|