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 difference between TRUNCATE and DELETE statement

Answer Posted / xyz

truncate basically clears the data from the rows of a
specified colomn.
e.g. truncate colomn_name from table_name
then this will only empty the colomn

delete is used to simpy delete anything from the table.
e.g. delete table_name
this will remove the whole table from the database.

Is This Answer Correct ?    9 Yes 28 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to select all columns of all rows from a table with a select statement in ms sql server?

1114


What is the difference between lock, block and deadlock? : sql server database administration

1045


Tell me what is sql profiler?

1027


How to loop through returning rows?

1034


How can we improve performance by using SQL Server profiler?

1053


What is the difference function and stored procedure?

1055


What is normalization and its types?

1032


How to manipulate data from one table to another table ?

969


SQL Server Architecture ?

2456


What is the default fill factor value?

1080


What is view in sql?

904


How to find out the list schema name and table name for the database?

942


Explain about extended stored procedure?

939


where the connection string store in the database

2070


what's the difference between a primary key and a unique key? : Sql server database administration

949