Solved

getting different results

Posted on 2008-10-31
3
281 Views
Last Modified: 2012-05-05
Why  am I getting different results between SQL Server Reporting Services and SQL Server 2005??

for e.g
if i run following quey on the MSSql Server it returns 226, but on the SQL Server Reporting its 402

select sum(Hours) from table1
what would cause to this problem?? service pack or anything
I have checked following items

1. Connection String - check the server, database name, credentials & etc&.
2. Parameter  e.g. the format of the Date parameters& it may pass different date format&
4. Also, you can use the MS SQL server Profiler to side view the query (cross-verify).

Please help??

 
0
Comment
Question by:nadun
  • 2
3 Comments
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 22849047
the 2 results must be coming from different tables. you MUST have overlooked a detail.
0
 

Author Comment

by:nadun
ID: 22849095
Nop both refer to same Server --> View, it seems to be problem with the  sum function, when i remove the sum then the results are exactly same  

see attached file
problem.jpg
0
 

Accepted Solution

by:
nadun earned 0 total points
ID: 22849692
I have figured out the problem... thanks a lot for your help
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now