DBAWinnipeg
Programmer
Can anyone tell me how Truncate Table and Drop Table are different? I know (obviously) DROP TABLE actually gets rid of the table but in doing the DROP TABLE does SQL just truncate the data and then drop the object?
The reason I ask is that if I truncate a 400 million row table it takes approx 3 minutes but if I drop that same table it takes approx 5 minutes. Not a big deal I know but just curious as to why the time difference
Thanks in advance!!!
Colin in da 'Peg
The reason I ask is that if I truncate a 400 million row table it takes approx 3 minutes but if I drop that same table it takes approx 5 minutes. Not a big deal I know but just curious as to why the time difference
Thanks in advance!!!
Colin in da 'Peg