The ExecuteNonQuery method returns the number of rows affected by Insert, Update, and Delete operations. Returns -1 for all other queries, not 0.