Показать сообщение отдельно
Старый 12.06.2012, 16:45   #8  
gl00mie is offline
gl00mie
Участник
MCBMSS
Most Valuable Professional
Лучший по профессии 2017
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии AXAWARD 2013
Лучший по профессии 2011
Лучший по профессии 2009
 
3,684 / 5803 (201) ++++++++++
Регистрация: 28.11.2005
Адрес: Москва
Записей в блоге: 3
По поводу лога и прочего лучше всего обратиться к документации. В частности, на счет лога пишут:
Цитата:
Compared to the DELETE statement, TRUNCATE TABLE has the following advantages:
  • Less transaction log space is used. The DELETE statement removes rows one at a time and records an entry in the transaction log for each deleted row. TRUNCATE TABLE removes the data by deallocating the data pages used to store the table data and records only the page deallocations in the transaction log.
  • ...
Цитата:
Сообщение от DSPIC Посмотреть сообщение
Table properties:
1. Set Temporary = Yes
2. Synchronize
3. Set Temporary = No
4. Synchronize
Это то же, что drop table/sync Data Dictionary