adspace
Answer Posted / rajesh bhawsar
delete command, delete row by row and same time it makes an
entry in transaction log
while truncate remove the referance of respective
page/extent and doesn't make any entry in transaction log
truncate is faster then delete.
in case of truncate seed value (auto increment column) reset
to default unlike delete.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Explain “row_number()” in sql server with an example?
Can we make the the chages By Using the Sql if u know any function or process please inform me Actuall result: BRK1 Break 1 Part 1 00:01:00:00 60 BRK1 Break 1 Part 2 00:01:00:00 60 BRK2 Break 2 Part 1 00:01:00:00 60 BRK2 Break 2 Part 2 00:01:00:00 60 BRK2 Break 2 Part 3 00:01:00:00 60 BRK3 Break 3 Part 1 00:01:00:00 60 BRK3 Break 3 Part 2 00:01:00:00 60 Desired O/P: BRK1 Break 1 Part 1 00:01:00:00 60 Part 2 00:01:00:00 60 BRK2 Break 2 Part 1 00:01:00:00 60 Part 2 00:01:00:00 60 Part 3 00:01:00:00 60
What are the risks of storing a hibernate-managed object in a cache? How do you overcome the problems?
do you know how to configure db2 side of the application? : Sql server database administration
Can one drop a column from a table?
How can you append an identity column to a temporary table?
Explain system functions or built-in functions? What are different types of system functions?
Where can you add custom error messages to sql server?
How can we solve concurrency problems?
How can I check that whether automatic statistic update is enabled or not?
How raid can influence database performance?
What are the properties of the transaction?
How to remove duplicate rows from table except one?
What are the source of constraints?
Equi join and non equi join is possible with sql server?