تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

sql-server-toolkit

بواسطة sqlservr

DevOps & Cloud
515التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Command-line toolkit for Microsoft SQL Server.

الوصف

ما الذي تفعله هذه المهارة

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.

متى تستخدمها

  • 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

مثال على سير العمل

الإدخال

User asks: Back up MyDatabase to a local file

الوكيل
  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

الإخراج

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

المتطلبات

  • Microsoft SQL Server instance
  • sqlcmd utility installed

التثبيت

clawhub install sqlservr/sql-server-toolkit

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط