4 ms·
I agree. Applications that rely on the ordering of columns are as bad as people who complain when I add a new column into, or change the ordering of a CSV which
by rbut 6y ago
I agree. Applications that rely on the ordering of columns are as bad as people who complain when I add a new column into, or change the ordering of a CSV which has column headers. There is no technical reason to do this; computers are ample fast enough to look up columns by name!
- csharptwdec19 6y ago>computers are ample fast enough to look up columns by name! Sure, but depending on number of records and/or implementation of the name lookup, it can add up over a large resultset, or have a slightly cost over many smaller queries. Mind you, I think -most- implementations are smart enough to only need to do the lookup once for a returned datareader, but the cost is still there.