# Mssql Ctes

> ---

- Skill: `shubhashjha/mssql-ctes` (Agent Skill)
- Install (CLI): `npx skillmds@latest add shubhashjha/mssql-ctes`
- Raw SKILL.md: https://api.skillmd.com/api/skills/shubhashjha/mssql-ctes/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: shubhashjha (https://skillmd.com/u/shubhashjha)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/shubhashjha/mssql-ctes

---

---
name: mssql-ctes
description: Basic skill for SQL Server common table expressions, recursive queries, and query readability improvements. Use when Codex needs a basic starting point for this .NET development area.
---

# MSSQL CTEs

Use this skill as a basic starting point.

## Workflow

1. Review the existing project structure and database integration points.
2. Identify the current schema, SQL pattern, and operational constraints.
3. Apply the smallest change that improves correctness, maintainability, or performance.
4. Keep SQL naming, conventions, and deployment steps consistent.
5. Verify the result with available tests, scripts, or query validation steps.

## Output

- Produce practical SQL or application changes.
- Keep the result easy to review and operate.
- Prefer safe and incremental updates over risky rewrites.


