Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the difference between delete and truncate?

Answer Posted / venkatesh kumar.s

Truncate:The truncate command deletes the rows in the
table,but not the structure of the table.
Cmd-truncate table tablename;
Drop:The drop command will drop the table from the databases.
Cmd-drop table tablename;
Delete:The delete cmd removes tuples from a relation.It
includes where clause to select the tuples to be deleted.
Cmd-delete from tablenmae where attribute-name="value" or value;

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is rdbms data?

973


What are the types of tables in database?

1050


how you will identify the mapping level bottleneck ? if there is a mapping level bottleneck then how will you try to improve the mapping

1999


What is a relation schema?

1070


What restrictions can you apply when you are creating views?

955


Describe the types of keys?

1182


Why is maintaining a database important?

952


What are 4 types of models?

882


Explain the importance of database partitioning.

1034


What are the disadvantages of a database?

1103


Is it good to store image in database?

946


How do convert or display the date or time as string?

1094


Can we use GO_BLOCK package in a PRE_TEXT_ITEM trigger ?

2987


What is the best database to use?

938


What is tuple and attribute?

990