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 many full-text indexes can a table have?

927


What do you understand by coalesce in sql server?

1000


Is a primary key unique?

939


do you know what is a deadlock and what is a live lock? How will you go about resolving deadlocks? : Sql server database administration

920


Can we insert data into a view?

1062


Explain nested trigger in sql?

1005


How to create a new login name in ms sql server?

995


List all the types of user-defined functions?

991


What is the default fill factor value?

1011


Which are ddl commands?

973


What are trace flags?

959


What are the difference between clustered and a non-clustered index?

978


What is Federation and Federation Member?

92


Can we write a distributed query and get some data which is located on other server and oracle database?

1176


How do I find the sql server version?

956