Skip to main content
Run any Skill in Manus
with one click

sql-postgres-converter

Stars42
Forks22
UpdatedJuly 5, 2026 at 15:10

Detecta e converte sintaxe SQL Server/DBAccess embutida em código AdvPL/TLPP para sintaxe segura e portável em PostgreSQL. Substitui hints (NOLOCK) literais pela macro %nolock%, converte funções T-SQL literais (ISNULL, CONVERT, GETDATE, DATEDIFF, HASHBYTES), reescreve concatenação T-SQL (+) para o padrão ANSI (||), sinaliza nomes cross-database de três partes e roundtrips CONVERT(VARBINARY,...) como decisão arquitetural, e verifica se ChangeQuery() é chamado onde TOP N ou macros DBAccess são usados. Use quando o usuário disser 'converter para postgres', 'preparar código para migração postgres', 'corrigir NOLOCK para postgres', 'ISNULL para COALESCE', 'sql server para postgres', 'migrar query para postgres'.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
3 files
SKILL.md
readonly