D
Danny Shisler
I'm trying to work out the most efficient method of returning rows related
to an in-memory DataTable and could do with some advice.
The situation is that I am loading records in from external files directly
into a ADO.net DataTable. These are frequently very large (c.100,000
records).
Once loaded, I perform a certain amount of preprocessing and then retrive
related values from lookup tables in a SQL Server 2000 database. The lookup
tables themselves can be very large (in one case running to millions of
rows) and often have validity dates on individual rows
The original DataTable is stored in DataSet and I'd like to be able to
retrieve related rows from the lookup tables and store them in a related
DataTable in the DataSet so I can perform some further processing (and often
then retrieve further information). Obviously, because of the size of some
of the lookup tables, I don't want to retrieve the entire tables.
I can't work out an effecient way of acheiving this. I do have complete
control over the SQL Server so if something like SQLXML would help then I
could install it.
Any help would be gratefully received.
Thanks
to an in-memory DataTable and could do with some advice.
The situation is that I am loading records in from external files directly
into a ADO.net DataTable. These are frequently very large (c.100,000
records).
Once loaded, I perform a certain amount of preprocessing and then retrive
related values from lookup tables in a SQL Server 2000 database. The lookup
tables themselves can be very large (in one case running to millions of
rows) and often have validity dates on individual rows
The original DataTable is stored in DataSet and I'd like to be able to
retrieve related rows from the lookup tables and store them in a related
DataTable in the DataSet so I can perform some further processing (and often
then retrieve further information). Obviously, because of the size of some
of the lookup tables, I don't want to retrieve the entire tables.
I can't work out an effecient way of acheiving this. I do have complete
control over the SQL Server so if something like SQLXML would help then I
could install it.
Any help would be gratefully received.
Thanks