What is the difference between Drop and Truncate

Answer Posted / mohsin mohammed abdul

Drop means removing the existing object from the database.
turncate means you are deleting the data from the table and
oracle implicitly issues commit statment and even when you
say rollback , you won't get the data back due to commit ..

Is This Answer Correct ?    36 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

After removing a table from database, what other related objects have to be dropped explicitly?

806


What are the approximate numeric data types?

719


Do you know the different ddl commands in sql?

773


what’s the difference between Covering Indexes and Clustered Indexes ? how to use clustered index small ?

1758


How do we upgrade from SQL Server 6.5 to 7.0 and 7.0 to 2000?

1797


When to use Inner join & when to use subquery?

769


Can two tables share the same primary key?

687


Does transparent data encryption provide encryption when transmitting data across the network?

812


Write the queries for commands like Create Table, Delete table, Drop Table etc.

788


What is etl - extraction, transformation, and loading?

687


Explain what is the use of custom fields in report?

701


How to create a view and a stored procedure in ms sql server using "create view/procedure" statements?

724


Create a dts package to produce a text file using the ‘update statistics’ command for the tables in a database with obsolete statistics.

716


what is the main function of a query parameter?

126


State a few properties of relational databases?

847