If I delete a table and then rollback it, do the index on
the table remains?
What if I drop the table and roll back?Do index on the
table remains?
What if I truncate the table and roll back? Do the index on
the table remains
Answer Posted / mohammed
DROP and TRUNCATE are DDL commands, whereas DELETE is a DML
command. Therefore DELETE operations can be rolled back
(undone), while DROP and TRUNCATE operations cannot be
rolled back.It is possible to delete all rows in a table
without deleting the table. This means that the table
structure, attributes, and indexes will be intact.Indexes,
tables, and databases can easily be deleted/removed with
the DROP statement. If we only want to delete the data
inside the table, and not the table itself....
Then, use the TRUNCATE TABLE statement.
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
How do you handle your own transaction?
dear all,Greetings of the day.. i have a small query plz rply if u knw.. i have done MBA Hr and B.sc microbiology. i am very much interested in it industry,so i am planing to go with oracle HRMS module,can it be work out??
What is database or database management systems (dbms)?
What is a data source (ds)?
How many types of users in dbms?
What is the definition of database management system?
Does netlib support windows 95?
What is drivermanager getconnection?
How do I check my drivers?
What is dba stand for?
In DBMS, what are the two integrity rules used?
What is field in database give an example?
Describe the differences between vertical and horizontal portioning.
Define checkpoint.
Enlist some commands of ddl?