MS SQL Server Tips

  • INF: How to Shrink the SQL Server 7.0 Transaction Log
    DBCC SHRINKFILE 명령 또는 DBCC SHRINKDATABASE 명령을 사용할 때 트랜잭션 로그가 줄어들지 않는 일반적인 이유가 몇 가지 있다. 본 문서에서는 이에 대해 간략하게 설명하며, SQL Server Books Online의 “DBCC SHRINKFILE” 및 “DBCC SHRINKDATABASE” 항목에서 자세하게 다룬다.
  • Exporting Data Programmatiaclly with bcp and xp_cmdshell
    This article demonstrates how to programmatically control bcp to generate text files. It uses dynamic SQL and xp_cmdshell to execute a call to bcp from within Query Analyzer.