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
 Transact-SQL (2000)
 Help with a query.

Author  Topic 

RIKIL
Starting Member

20 Posts

Posted - 2007-03-21 : 15:13:24
I have a table that has several rows. For each row there is a date and there is also a number.

I need to run a report that will pull back the numbers for any row with a date in the last two weeks. I need to add up the numbers and who them on a graph or chart, so I was going to try and use SRS.

Can someone help me with this type of query? I have worked with SQL a bit but not for anything like this so I don't know where to start.

Thanks.

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2007-03-21 : 16:05:20
Sample data and expected output?


Peter Larsson
Helsingborg, Sweden
Go to Top of Page
   

- Advertisement -