Solved

getting different results

Posted on 2008-10-31
3
287 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 143

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how the fundamental information of how to create a table.

696 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