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.
| Author |
Topic |
|
Bjcascone
Starting Member
37 Posts |
Posted - 2009-03-23 : 09:25:49
|
| I have a table that I want to see the difference between 2 columns in the results set. I am not sure how the syntax for this would look.Basically I have a table that has 1 column (expected_row_counts) and another (actual_row_counts) and i want to see the difference between these in my select. Thank you |
|
|
dinakar
Master Smack Fu Yak Hacker
2507 Posts |
Posted - 2009-03-23 : 09:57:36
|
| SELECT Expected_row_counts-Actual_Row_Counts as [Difference]FROM .....Dinakar Nethi************************Life is short. Enjoy it.************************http://weblogs.sqlteam.com/dinakar/ |
 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2009-03-23 : 12:18:52
|
| are both the columns of numerical type. also are they nullable or not? |
 |
|
|
|
|
|