Obviously this SQL statement is vulnerable:
Dim sql As String = "select * from person where fname = '" & fname & "'"
But what of this?
Dim sql as string = "select * from person where fname = '" & fname.Replace("'", "''") & "'"
Ideally we'd use SQL parameters but I'm wondering if the latter style of SQL statement is still safe or if I need to fix these as well...