Basic question. If I have a form that asks a user for their name, email, and comments, and I store the entries in the database... What happens if someone types in a SQL query such as:
DROP tablename
in the comments section.
@Name,
@Email,
@Comments
INSERT INTO mytable (Name, Email, Comments) VALUES (@Name, @Email, @Comments)
Is there any risk of SQL injection or am I perfectly safe?
SQL Server 2008 Stored Procedure to handle insert.