Professional Documents
Culture Documents
Net
Name __________________________
_________________________
Roll #
SQL Statements
7. Write code to mitigate SQL injection through user_input variable. What possible
solutions can be implemented here?
String query = "select * from OrdersTable where ShipCity = '" + user_input + "'";