Hi there .
1. Is there any way to reorganize table ?
2. How difference between truncate table and delete * from AAA
Regards.TO re-org DBCC DBREINDEX is best method to go.
The TRUNCATE TABLE statement is a fast, nonlogged method of deleting all rows in a table. It is almost always faster than a DELETE statement with no conditions because DELETE logs each row deletion, and TRUNCATE TABLE logs only the deallocation of whole data pages. TRUNCATE TABLE immediately frees all the space occupied by that table's data and indexes. The distribution pages for all indexes are also freed.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment