load-source-define

Community

Fetch source T-SQL definitions from SQL Server.

AuthorKevin163
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Retrieves the original T-SQL definition text of database objects (stored procedures, views, and functions) from the source SQL Server to aid migration debugging, testing, and validation.

Core Features & Use Cases

  • Retrieve original T-SQL definitions for stored procedures, views, and functions using a simple Python script.
  • Save definitions to a file or display them for quick analysis, enabling comparisons with converted PostgreSQL scripts.
  • Supports debugging workflows such as analyzing migration failures, creating unit tests, and validating schema changes.

Quick Start

Run the script with --proc, --view, or --func to fetch a definition and optionally save it to a file.

Dependency Matrix

Required Modules

pyodbc

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: load-source-define
Download link: https://github.com/Kevin163/DatabaseSqlServer2PostgreSql/archive/main.zip#load-source-define

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.