I have doubts about this situation.
I have a request like this in a stored procedure:
SELECT column1, column2 FROM table1 WHERE column1 like '%' + @column1 + '%'
My question is, is this vulnerable to SQL Injection? I need to change this to something like this: (?)
declare @column1Like nvarchar(200); @column1Like = '%' + @column1 + '%' SELECT column1, column2 FROM table1 WHERE column1 like @column1Like
Hi
Bruno costa
source share