KRajanala131498 (Community Member) asked a question.

I have a SQL Query where I am appending table name dynamically. here I am getting SQL injection error please help me how resolve this.
below is the Sample query
String table_name= "Employee";
SQLQuery = 'select * from' + table_name;

I am trying to execute the query in java but in vera scan it is showing SQL injection issue


Topics (1)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.