← Files SQL CopilotARCHIVED FILE
skills/translate-sql-dialect/SKILL.md
1.5 KB · Nov 14, 2026 · 00:41 UTC
--- name: translate-sql-dialect description: Translate SQL between named database platforms while preserving semantics. --- # Translate Sql Dialect **Trigger:** Translate SQL between named database platforms while preserving semantics. ## Workflow 1. Identify source and target engine, version when consequential, and any source functions or UDFs. 2. Translate syntax and behavior: quoting, LIMIT/TOP/FETCH, date/time, null-safe equality, upserts, JSON, arrays, QUALIFY, transactions and stored procedure constructs. 3. Call out features without direct equivalents rather than inventing functions. 4. Mark where silent behavior changes may arise: Oracle empty strings, string collation, timestamp zones, integer division, regex or casting. 5. Supply a comparison validation plan: sample inputs, cardinalities, boundary rows and totals. ## Critical standard No mixed-dialect SQL; confirm version-sensitive syntax from official platform documentation. ## Evidence and execution Only say "executed", "passed", "observed", "optimized" or "deployed" when a connected tool returned evidence for that claim. An SQL draft, a textual review, or local fixture proof alone is not production validation. Never ask the user to paste passwords or raw confidential records. ## Supporting references - Read `../../references/dialects.md` when relevant. - Read `../../references/official-docs.md` when relevant. - Read `../../references/null-time-types.md` when relevant. ## Return Target-dialect SQL, differences that matter, and equivalence checks.
SHA-256: 8f0f92b96c3fb3a28415b19623e09d709d728bcbdc33ee66f38150c84cc71374