SQL COUNT overflow

前端 未结 2 569
野性不改
野性不改 2020-12-28 11:34

Here is my query:

SELECT COUNT(*) FROM Similarities WHERE T1Similarity = 0 OR T2Similarity = 0

Here is the result:

Msg 8115, L

相关标签:
2条回答
  • 2020-12-28 12:08
      SELECT COUNT_BIG(*) FROM Similarities WHERE T1Similarity = 0 OR T2Similarity = 0
    
    0 讨论(0)
  • 2020-12-28 12:21

    Use COUNT_BIG

    SELECT COUNT_BIG(*) FROM Similarities WHERE T1Similarity = 0 OR T2Similarity = 0
    
    0 讨论(0)
提交回复
热议问题