cheekybuddha
AWF VIP
- Local time
- Today, 17:20
- Joined
- Jul 21, 2014
- Messages
- 2,764
No it doesn't - it's one SELECT call for every thousand records.but it takes a LOOP to collect the thousand records.
If there are fewer than a thousand records, then it's just one query.
The .GetString method builds the concatenation in a single call (very fast!) - but it will be a single query to run on the server.
As I may have mentioned, I haven't tested at all! So it may have no benefit - I'll try and do some tests this week if I get time.