Topic: SQL*Plus and PL/SQL >> regarding truncate tables
|
Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property.
You may review the entire Oracle Certification Program Candidate Agreement online Here.
|
|
|
|
| Title: regarding truncate tables |
| shivu |
Posted: Jul 17, 2008 12:18:20 PM |
Total Post: 63
Joined: Nov, 2007
|
Hi,
If i truncate a table then its associated indexes are also truncated???? |
|
|
Avnish |
| Posted: Jul 18, 2008 12:47:17 AM | |
|
Total Post: 154
Joined: Dec, 2007
|
Hi,
Yes, When you truncate a table, Oracle Database automatically removes all data in the table's indexes.
See Link :
http://www.acs.ilstu.edu/docs/oracle/server.101/b10759/statements_10006.htm
Thanks & Regards
Avnish Yadav
|
|
|
|
|
seema |
| Posted: Sep 02, 2008 05:36:11 AM | |
|
Total Post: 70
Joined: Jan, 2008
|
No.......if we truncate a table that will not truncate index because structure of the table still there.
|
|
|
|
|
| Time Zone: EDT |
Send this thread to your friend |
|
|
|
|
Forum Rules & Description
Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user
|
| |
Get FREE Magazines
|
Top 10 Forum User
|
| Murtuja Khokhar | 857 |
| Mohammed Taj | 746 |
| positive fanatic | 483 |
| Jayanta Sur | 479 |
| Vigyan Kaushik | 387 |
| Vinoth Kumar | 379 |
| Gopu Gopi | 350 |
| Gitesh Trivedi | 322 |
| neeraj sharma | 258 |
| Ramesh Jois | 246 |
|
|