rules repository

dbLinter rules repository

Explore dbLinter rules for Oracle Database, Oracle APEX and PostgreSQL. Each rule explains what it checks and why, with code examples and configuration options to match your standards.

dbLinter analyses SQL, PL/SQL and PL/pgSQL code and tests your data model, with quick fixes where available, right in VS Code.

Get started with dbLinter

Using VSCodium or another Open VSX editor? Get the extension from the Open VSX Registry.

Browse by

What is dbLinter?

dbLinter checks database applications against a configurable set of rules, using static code analysis and database queries. It covers Oracle Database and PostgreSQL in files with SQL, PL/SQL, PL/pgSQL, SQL*Plus, SQLcl and psql, and ships tests that validate your data model, for example tables without primary keys or foreign keys without an index. Quick fixes are offered where available, findings can be ignored, and you can add your own rules, checks and tests.

Coming from the Trivadis PL/SQL & SQL Coding Guidelines or the discontinued db* CODECOP? Many rules will look familiar: rule pages link the Trivadis original where there is one.