Initial commit: local SQL expert AI (Ollama + CLI + prompts + systemd timer)
This commit is contained in:
27
prompts/utf8_migration_runbook.md
Normal file
27
prompts/utf8_migration_runbook.md
Normal 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
|
||||
Reference in New Issue
Block a user