FIX: INT Divide by Zero Exception Error When Running a QueryID: Q165754
|
An INT divide by zero exception error occurs when you run a query joining tables with wide rows. The scenario that reproduced this bug was a select with a join between a very wide table (2,698 bytes row length) and a view with one where clause. The handled exception error stops the query.
Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.5 Service Pack 2. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server version 6.5. For more information, contact your primary support provider.
The following query caused the access violation:
select pr.*,p.*
from tblprospects pr, tblprospectsdetail p
where pr.prospect_key=(select min(p2.prospect_key) from tblprospects p2)
and pr.prospect_key=p.prospect_key
Additional query words: AV GPF
Keywords : SSrvTran_SQL
Version : 6.5 SP2
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: April 9, 1999