Test Your Knowledge

VS + SQL - Lesson 3: Insert / Delete / Update Quiz

Answer all questions to test your understanding

1 Which method executes a command that doesn't return any rows?
2 What is the biggest risk of using string concatenation in SQL queries?
3 What is the correct way to pass values to a SQL command?
4 What does ExecuteNonQuery() return?
5 Which of these is a safe SQL command?