S
SteveK
So I'm getting my head aroud the DataSet and the "disconnected" way of
working with data. One thing that I'm finding is that to work disconected,
I need more data in my query results than I used to.
For example, in my order table I have a FK userID column, since I want to be
able to search and refine my disconnected data, I need to retrieve the FK as
well as join the Tbl_Users record that correlates to the FK.
My question is, is it faster to retrieve all the data from the DB already
joined or would I be better off getting separate tables and creating my
relations on the client side? I will be poppulating a treeView and for
every record retrieved from my orders table (estimated 6000+ and growing) I
have several related records in other tables.
Anyone have any advice? Suggestions, benchmarks?
A little more info:
- SqlServer 2000 (upgrading soon)
- C# windows form clients
working with data. One thing that I'm finding is that to work disconected,
I need more data in my query results than I used to.
For example, in my order table I have a FK userID column, since I want to be
able to search and refine my disconnected data, I need to retrieve the FK as
well as join the Tbl_Users record that correlates to the FK.
My question is, is it faster to retrieve all the data from the DB already
joined or would I be better off getting separate tables and creating my
relations on the client side? I will be poppulating a treeView and for
every record retrieved from my orders table (estimated 6000+ and growing) I
have several related records in other tables.
Anyone have any advice? Suggestions, benchmarks?
A little more info:
- SqlServer 2000 (upgrading soon)
- C# windows form clients