sqlserver-to-tidb-migration

Migrate SQL Server databases to TiDB with schema conversion, data loading, and validation.

2|1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/pingcap-inc/TiShift --skill sqlserver-to-tidb-migration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sqlserver-to-tidb-migration
Source: https://github.com/pingcap-inc/TiShift/tree/main/sqlserver-to-tidb
Command: npx skills add https://github.com/pingcap-inc/TiShift --skill sqlserver-to-tidb-migration

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Migrating SQL Server databases to TiDB can unlock scalability and cost benefits by translating schemas, migrating data, and validating results in an automated, end-to-end workflow.

Core Features & Use Cases

  • Readiness scoring to identify blockers and opportunities early.
  • Schema conversion from SQL Server to TiDB-compatible DDL with type mappings and collation handling.
  • Data loading strategies for small tests and large-scale migrations with validation.

Quick Start

Begin with a scan to generate a readiness report and then proceed through conversion, loading, and validation steps.

Frequently Asked Questions about sqlserver-to-tidb-migration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate a SQL Server database to TiDB end to end?

Migrating SQL Server to TiDB involves an end-to-end workflow: scanning your estate for readiness, converting schemas to TiDB-compatible DDL, loading data, and validating results to ensure a successful migration.

What is readiness scoring in a SQL Server to TiDB migration?

Readiness scoring scans your SQL Server estate to identify migration blockers and opportunities early, generating a report that assesses whether your schemas and procedures are ready for conversion to TiDB.

How does schema conversion work when moving from SQL Server to TiDB?

Schema conversion from SQL Server to TiDB generates TiDB-compatible DDL statements, handling data type mappings and collation adjustments to ensure your database structure translates accurately to the new platform.

Can I migrate complex stored procedures from SQL Server to TiDB?

Yes, the migration workflow supports AI-assisted analysis for complex procedures, helping translate intricate SQL Server procedural logic into a TiDB-compatible format during the conversion phase.

Does this SQL Server to TiDB migration workflow support large-scale data loading?

Yes, the workflow provides data loading strategies for both small tests and large-scale migrations, including validation steps to ensure data integrity when moving high volumes of data from SQL Server to TiDB.

What is the best way to handle multi-schema estates during a SQL Server to TiDB migration?

The best way to handle multi-schema estates is using an automated workflow that scans and scores readiness across schemas, converts DDL, and manages data loading with cutover considerations to ensure a coordinated migration.