Re: Combining multiple datatables on a unique ID
From: 11Oppidan (11Oppidan_at_community.nospam)
Date: 03/15/05
- Next message: Sahil Malik: "Re: How to Perform SQL Select on a DataSet"
- Previous message: Eric Barr: "Re: How to Perform SQL Select on a DataSet"
- In reply to: Kevin Yu [MSFT]: "Re: Combining multiple datatables on a unique ID"
- Next in thread: Kevin Yu [MSFT]: "Re: Combining multiple datatables on a unique ID"
- Reply: Kevin Yu [MSFT]: "Re: Combining multiple datatables on a unique ID"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 15 Mar 2005 15:45:27 -0000
I am not sure what you mean by coordinate tables.
I have 100 datatables in a dataset. Each table has been populated by an
individual query. Each datatable contains an event id, value1, value2,
value3 and value4, with about 10k rows. There are a finite number of event
ids app 100k. Each datatable can contain any combination of these events
ids.
I want to create one master table by appending all these different tables
together and then grouping by the Event ID and summing the values. So I
will have a final table containing the eventid once and the sum of the
values from all the different tables I have combined.
Hope that makes sense! As William said this is perhaps something that
should be done server side. I am just keen to establish how to query across
datatables!
Thanks for your help.
"Kevin Yu [MSFT]" <v-kevy@online.microsoft.com> wrote in message
news:cPBuKdQKFHA.1140@TK2MSFTNGXA02.phx.gbl...
> Hi 11Oppidan,
>
> DataRelation objects create relationship between master and detail tables.
> However, based on my understanding of this issue, you have coordinate
> tables to do this summary. So I don't think DataRelation is suitable here.
> Please feel free to point me out if my understanding is incorrect. Thank
> you.
>
> Kevin Yu
> =======
> "This posting is provided "AS IS" with no warranties, and confers no
> rights."
>
- Next message: Sahil Malik: "Re: How to Perform SQL Select on a DataSet"
- Previous message: Eric Barr: "Re: How to Perform SQL Select on a DataSet"
- In reply to: Kevin Yu [MSFT]: "Re: Combining multiple datatables on a unique ID"
- Next in thread: Kevin Yu [MSFT]: "Re: Combining multiple datatables on a unique ID"
- Reply: Kevin Yu [MSFT]: "Re: Combining multiple datatables on a unique ID"
- Messages sorted by: [ date ] [ thread ]