2 ms·
Best approach is to not build queries by concatenating strings. Use parameters if at all possible.
by ams6110 14y ago
Best approach is to not build queries by concatenating strings. Use parameters if at all possible.
- nhebb 14y agoI don't know about other data providers, but with the ADO.NET adapter, there is a huge performance penalty for non-parameterized, non-transactional queries. So if you string together a query you get clued in pretty quick that there's a problem.