Zum Hauptinhalt springen
Glossary

Parameterized Queries

Updated on 1 min

Parameterized queries (prepared statements) are database queries where the SQL structure and user inputs are strictly separated. The database treats parameters as pure data, never as executable SQL code. This is the most effective defense against SQL injection, one of the most common and dangerous attack vectors against web applications. Every modern programming language and database framework supports parameterized queries. Your development guidelines should mandate their use as a binding standard. String concatenation in SQL queries with user input should be flagged as a critical finding in code reviews.