Code Analysis

ST013

Non-ANSI NOT_EQUAL operator used (!=)

Use ANSI-style NOT_EQUAL operator (<>).

The ‘!=’ symbol for not equal is not part of the SQL language. It is understood but only for the sake of backward-compatibility.

Available in

SQL Prompt

SQL Code Guard


This documentation contains proprietary information and is protected by copyright law.
Copyright © 2026 Red Gate Software Limited. All rights reserved


Didn't find what you were looking for?