Skip to main content



      Home
Home » Archived » BIRT » simple data collecting question
simple data collecting question [message #249707] Wed, 25 July 2007 05:41 Go to next message
Eclipse UserFriend
Originally posted by: marcin.kierdelewicz.sitelynx.com

Hi,
I have 3 tables in my sql database. All of them have the same structure:

table1 (structure: date, integer, text) stores data:
2007-07-01, 1001, aaa
2007-07-02, 1002, bbb
2007-07-03, 1003, ccc

table2 (structure: date, integer, text) stores data:
2007-07-04, 1004, ddd
2007-07-05, 1005, eee
2007-07-06, 1006, fff

table3 (structure: date, integer, text) stores data:
2007-07-07, 1007, ggg
2007-07-08, 1008, hhh
2007-07-09, 1009, iii

I would like to create 1 dataset that will keep all these data together
like this:
Dataset (structure: date, integer, text) stores data:
2007-07-01, 1001, aaa
2007-07-02, 1002, bbb
2007-07-03, 1003, ccc
2007-07-04, 1004, ddd
2007-07-05, 1005, eee
2007-07-06, 1006, fff
2007-07-07, 1007, ggg
2007-07-08, 1008, hhh
2007-07-09, 1009, iii

I am sure that this is simple to do. Could you help me, please?
Thank you
Re: simple data collecting question [message #249782 is a reply to message #249707] Wed, 25 July 2007 12:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Marcin,

Can you not use a UNION statement in your query?

Jason

Marcin Kierdelewicz wrote:
> Hi,
> I have 3 tables in my sql database. All of them have the same structure:
>
> table1 (structure: date, integer, text) stores data:
> 2007-07-01, 1001, aaa
> 2007-07-02, 1002, bbb
> 2007-07-03, 1003, ccc
>
> table2 (structure: date, integer, text) stores data:
> 2007-07-04, 1004, ddd
> 2007-07-05, 1005, eee
> 2007-07-06, 1006, fff
>
> table3 (structure: date, integer, text) stores data:
> 2007-07-07, 1007, ggg
> 2007-07-08, 1008, hhh
> 2007-07-09, 1009, iii
>
> I would like to create 1 dataset that will keep all these data together
> like this:
> Dataset (structure: date, integer, text) stores data:
> 2007-07-01, 1001, aaa
> 2007-07-02, 1002, bbb
> 2007-07-03, 1003, ccc
> 2007-07-04, 1004, ddd
> 2007-07-05, 1005, eee
> 2007-07-06, 1006, fff
> 2007-07-07, 1007, ggg
> 2007-07-08, 1008, hhh
> 2007-07-09, 1009, iii
>
> I am sure that this is simple to do. Could you help me, please?
> Thank you
Re: simple data collecting question [message #250037 is a reply to message #249782] Thu, 26 July 2007 11:27 Go to previous message
Eclipse UserFriend
Originally posted by: marcin.kierdelewicz.sitelynx.com

Dear Jason,
I am sorry for such level of questions. I feel shame.
Thank you for your help.

Best regards
Marcin Kierdelewicz


Jason Weathersby wrote:
> Marcin,
>
> Can you not use a UNION statement in your query?
>
> Jason
>
> Marcin Kierdelewicz wrote:
>> Hi,
>> I have 3 tables in my sql database. All of them have the same structure:
>>
>> table1 (structure: date, integer, text) stores data:
>> 2007-07-01, 1001, aaa
>> 2007-07-02, 1002, bbb
>> 2007-07-03, 1003, ccc
>>
>> table2 (structure: date, integer, text) stores data:
>> 2007-07-04, 1004, ddd
>> 2007-07-05, 1005, eee
>> 2007-07-06, 1006, fff
>>
>> table3 (structure: date, integer, text) stores data:
>> 2007-07-07, 1007, ggg
>> 2007-07-08, 1008, hhh
>> 2007-07-09, 1009, iii
>>
>> I would like to create 1 dataset that will keep all these data
>> together like this:
>> Dataset (structure: date, integer, text) stores data:
>> 2007-07-01, 1001, aaa
>> 2007-07-02, 1002, bbb
>> 2007-07-03, 1003, ccc
>> 2007-07-04, 1004, ddd
>> 2007-07-05, 1005, eee
>> 2007-07-06, 1006, fff
>> 2007-07-07, 1007, ggg
>> 2007-07-08, 1008, hhh
>> 2007-07-09, 1009, iii
>>
>> I am sure that this is simple to do. Could you help me, please?
>> Thank you
Previous Topic:Issue with Birt 2.2 and WebSphere 6.1 when using Application Security
Next Topic:(another) simple question about variables
Goto Forum:
  


Current Time: Wed May 07 16:18:19 EDT 2025

Powered by FUDForum. Page generated in 0.27226 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top