This code looks fairly parameterized to me. I'm assuming this code is safe from a drop database command. Am I incorrect? Is there a better way to build queries with vb?
fname = A
lname = B
name = AB
SQL = "INSERT into [mydb].[db].[Table Name] (FName,LName,Name)"
SQL = SQL & "Values ('" & fname & "','" & lname & "','" & name)
'Execute SQL statement.
dbConn.Execute(SQL)