PL/SQL

PL or SQL : String concatenation

Overview

The application uses string concatenation. The resulting string should not be used as an SQL query.

Use argument binding when creating dynamic queries. Binding usually works faster, helps avoid implicit conversions, minimizes the chance of code injection, and is easier to maintain and update. Using concatenation for generating queries is only justified, when a particular query is identified as a bottleneck and requires additional optimization.

LOW

DerScanner Severity Score

Check your PL/SQL code for this vulnerability, free

Request a free pilot of DerScanner. We give you access and help with the first scan. It works in the cloud and on-premise.

Try it on your code, free

By submitting this form, I acknowledge that DerScanner may process my personal data I provided above for purposes explained above. More details about the processing.

How DerScanner analyses PL/SQL code