Skip to content

Glossary: Application and Credential Attacks, and AI Risks

SQL comment (--)

Also written: --

The SQL comment mark, which makes the database ignore the rest of the query. Attackers add it to cut off the real query.

Where the book teaches it

Related terms

SQL injectionUNION SELECT