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 / monal

Delete doesn't reset identity column seed if you have 1
identity column in the table.
Truncate resets identity column seed to the original value.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What command would you use to add a column to a table in sql server?

1304


Explain about Normalization?

1054


What is a trigger? Why we need it?

992


Can a synonym name of a table be used instead of a table name in a select statement?

1026


What is use of except clause? How does it differ from not in clause?

1015


How you can get the list of largest tables in a database?

1006


Explain the difference between delete,drop and truncate in SQL Server?

1092


Write the SQL query to drop, truncate and delete table.

965


What is the cartesian product of the table?

950


What language is sql server written in?

1028


What is a with(nolock)?

980


Can we linked SharePoint to a SQL database?

1021


How do I edit a stored procedure in sql server?

919


Explain a join?

1062


I applied Transactional with updatable subscriptions replication on 2 tables now i want to delete those 2 tables but i cannot delete those tables as replication is running how can i stop replication for those 2 tables(but i don't want to delete those replicated tables but i need to stop the replication) how can i do that

2015