Re: Urgent: Strange Exception on SQL7 but not on SQL2000
From: Tibor Karaszi (tibor_please.no.email_karaszi_at_hotmail.nomail.com)
Date: 08/10/04
- Next message: G.C.Mandrake: "Re: Help!!!! Last Time"
- Previous message: Tibor Karaszi: "Re: sqlserver agent starts and then immediately stops"
- In reply to: Lisa Pearlson: "Urgent: Strange Exception on SQL7 but not on SQL2000"
- Next in thread: Lisa Pearlson: "Re: Urgent: Strange Exception on SQL7 but not on SQL2000"
- Reply: Lisa Pearlson: "Re: Urgent: Strange Exception on SQL7 but not on SQL2000"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 10 Aug 2004 18:45:49 +0200
These types of errors are not user errors. Either data corruptions or bug. I'd start with searching KB as well
as making sure I'm on good service pack level.
-- Tibor Karaszi, SQL Server MVP http://www.karaszi.com/sqlserver/default.asp http://www.solidqualitylearning.com/ "Lisa Pearlson" <no@spam.plz> wrote in message news:OfwTjeufEHA.3556@TK2MSFTNGP12.phx.gbl... > Hi, > > This error is raised on SQL 7: > > ODBC: Msg 0, Level 19, State 1 > SqlDumpExceptionHandler: Process 28 generated fatal exception c0000005 > EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process > > The VIEW on which I execute the query is: > > CREATE VIEW vCumulatiefOverzicht > AS > SELECT > a.boekjr, > a.artcode, > a.periode, > ISNULL(o.omzet, 0) omzet, > ISNULL((SELECT SUM(omzet) FROM Sales > WHERE boekjr=a.boekjr AND artcode=a.artcode AND periode<=a.periode), 0) > cumul_artikel, > ISNULL((SELECT SUM(omzet) FROM Sales > WHERE boekjr=a.boekjr AND periode=a.periode), 0) omzet_periode, > ISNULL((SELECT SUM(omzet) FROM Sales > WHERE boekjr=a.boekjr AND periode<=a.periode), 0) cumul_periode > FROM (SELECT > j.boekjr, > j.artcode, > p.periode > FROM > (SELECT DISTINCT boekjr, artcode FROM OMZART) j, > (SELECT 1 AS periode > UNION ALL SELECT 2 > UNION ALL SELECT 3 > UNION ALL SELECT 4 > UNION ALL SELECT 5 > UNION ALL SELECT 6 > UNION ALL SELECT 7 > UNION ALL SELECT 8 > UNION ALL SELECT 9 > UNION ALL SELECT 10 > UNION ALL SELECT 11 > UNION ALL SELECT 12) p) AS a > LEFT OUTER JOIN Sales o > ON o.boekjr = a.boekjr AND o.periode=a.periode AND o.artcode=a.artcode > > And I execute the following query on it: > > SELECT boekjr, artcode, periode, omzet, cumul_artikel > FROM vCumulatiefOverzicht > WHERE boekjr=2000 AND artcode='021-02661' > ORDER BY boekjr, artcode, periode > > Did I do something wrong, or is it a BUG (and perhaps fixable with a service > pack?). > I do not have access to the server myself. > > Lisa > > >
- Next message: G.C.Mandrake: "Re: Help!!!! Last Time"
- Previous message: Tibor Karaszi: "Re: sqlserver agent starts and then immediately stops"
- In reply to: Lisa Pearlson: "Urgent: Strange Exception on SQL7 but not on SQL2000"
- Next in thread: Lisa Pearlson: "Re: Urgent: Strange Exception on SQL7 but not on SQL2000"
- Reply: Lisa Pearlson: "Re: Urgent: Strange Exception on SQL7 but not on SQL2000"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|