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
How to define and use table alias names in ms sql server?
What are some examples of schemas?
explain what is raid and what are different types of raid configurations? : Sql server database administration
What are the advantages to use stored procedures?
Can you insert NULL in unique column?
What are various aggregate functions that are available?
Explain the advantages of merge replication?
What is the synonym of join?
Which tcp/ip port does sql server run on? How can it be changed?
do views contain data ?
how to restart sql server in single user mode? How to start sql server in minimal configuration mode? : Sql server database administration
What does ss stand for sexually?
How to create a dynamic cursor with the dynamic option?
What are “phantom rows”?
What is the status of services on passive node for failover cluster in sql server? : sql server database administration