Is truncating a table faster than dropping and re-creating it in SQL? Thanks Azbilegt Chuluunbat
-
I am interested in to see if truncating the table is actually faster than dropping and recreating it? Does one of the write to the log?
-
I am interested in to see if truncating the table is actually faster than dropping and recreating it? Does one of the write to the log?
-
I am interested in to see if truncating the table is actually faster than dropping and recreating it? Does one of the write to the log?
What did you find out when you tried both methods?
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
Dave Kreskowiak -
I am interested in to see if truncating the table is actually faster than dropping and recreating it? Does one of the write to the log?
-
I am interested in to see if truncating the table is actually faster than dropping and recreating it? Does one of the write to the log?
I would think that truncating means less "file allocation" processing (just changing a pointer?) Dropping and recreating is essentially creating a new file / entry.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food