Initial commit: local SQL expert AI (Ollama + CLI + prompts + systemd timer)

This commit is contained in:
2026-01-27 21:30:15 +01:00
commit 394edc1709
18 changed files with 574 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
# UTF-8 Migration Runbook (SQL Server 2022)
## Ziel
Tabellen/Spalten auf UTF-8 umstellen durch Verwendung von UTF-8-enabled Collations (`*_UTF8`).
## Input (paste)
- Aktuelles Schema (CREATE TABLE oder relevante Spalten)
- Aktuelle Collations
- Abhängigkeiten (FKs, Indexes, Computed Columns, Triggers)
- App assumptions (Sortierung, Vergleiche, Case sensitivity)
---BEGIN INPUT---
<PASTE HERE>
---END INPUT---
## Erwartete Ausgabe
1) Kurzfazit
2) Schritt-für-Schritt Plan (staging -> validate -> cutover -> rollback)
3) DDL Snippets:
- neue Collation setzen
- Rebuild Indizes/Constraints
4) Risiken:
- Sort-/Compare-Verhalten kann sich ändern
- mögliche Indexgrößenänderung
- computed columns / persisted computed columns
5) Teststrategie:
- Vergleichssuites, Known tricky strings, roundtrip tests