@torchard’s advice on making one insert statement is very valid.
Check out this thread for the pitfalls of opening and closing a lot of connections;