Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

sql-server-toolkit

bởi sqlservr

DevOps & Cloud
515Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Command-line toolkit for Microsoft SQL Server.

Mô tả

Kỹ năng này làm gì

Command-line toolkit for Microsoft SQL Server. Covers schema creation, versioned migrations, index management, performance diagnostics, and backup and restore operations via sqlcmd.

Consolidates common SQL Server administrative tasks into a single CLI workflow, removing the need to switch between SSMS, custom scripts, and separate backup utilities.

Khi nào nên dùng

  • Running a versioned migration against a staging database before deployment
  • Diagnosing slow queries using IO and time statistics
  • Creating a full database backup before a major release
  • Bulk importing CSV data into a production table
  • Adding indexes to optimize frequently queried columns

Quy trình ví dụ

ĐẦU VÀO

User asks: Back up MyDatabase to a local file

AGENT
  1. 1

    Connects to the SQL Server instance using sqlcmd

  2. 2

    Issues a BACKUP DATABASE command targeting the specified database

  3. 3

    Writes the backup to the specified disk path with FORMAT and INIT options

  4. 4

    Confirms successful backup completion

ĐẦU RA

Database backup file created at C:\backup\MyDatabase.bak

Yêu cầu

  • Microsoft SQL Server instance
  • sqlcmd utility installed

Cài đặt

clawhub install sqlservr/sql-server-toolkit

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết