sql-server-toolkit
sqlservr द्वारा
DevOps & Cloudसंक्षिप्त
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
Connects to the SQL Server instance using sqlcmd
- 2
Issues a BACKUP DATABASE command targeting the specified database
- 3
Writes the backup to the specified disk path with FORMAT and INIT options
- 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-toolkitCLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।