Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Performance issue

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2006-06-07 : 11:23:40
Mita writes "I have got tables for 3 different years.. each table has got about 800000 rows.. i need to join these tables to create a report
here is the sample data
Table 1
comp_name ID Year Volume_for_jan Vol_for Feb.....Vol_for_dec
AQQ 1 2000 55 44.............554
3 33 2222...........2224
Table 2
comp_name ID Year Volume_for_jan Vol_for Feb.....Vol_for_dec
CCC 33 2001 44 55.............66

.
.
.
.Now i want to create a report which is something like this..
Comp_name
Id
Year
Vol_jan ...vol_feb.................

What is the best way to do this???
Please help.
I tried to create a report in business intelligence studio but it takes ages to process and at the end nothing happens..

i dont have any indexes or keys on these tables..
How do i achieve this???

Waiting for the reply


regards
Mita"

Kristen
Test

22859 Posts

Posted - 2006-06-07 : 11:35:00
Looks to be the same question as

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=67297

Kristen
Go to Top of Page
   

- Advertisement -