Article ID: 870994 - Last Review: November 2, 2007 - Revision: 2.3 FIX: An access violation exception may occur when you run a query that uses index names in the WITH INDEX option to specify an index hint
Bug #: 471776 (SQL Server 8.0) On This PageArticle contentsSUMMARYThis article describes the following about this hotfix release:
SYMPTOMSWhen you run a Transact-SQL query to fetch data from a table by using the WITH INDEX option, you may receive an access violation exception. This problem may occur if all the following conditions are true:
290211
(http://support.microsoft.com/kb/290211/
)
How to obtain the latest SQL Server 2000 service pack
RESOLUTIONService pack informationTo resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For more information, click the following article number to view the article in the Microsoft Knowledge Base:290211
(http://support.microsoft.com/kb/290211/
)
How to obtain the latest SQL Server 2000 service pack
Hotfix informationPrerequisitesThis hotfix requires SQL Server 2000 Service Pack 3 (SP3). For additional information about how to obtain SQL Server 2000 SP3, click the following article number to view the article in the Microsoft Knowledge Base:290211
(http://support.microsoft.com/kb/290211/
)
How to obtain the latest SQL Server 2000 service pack
Restart informationYou must restart your instance of SQL Server 2000 after you apply this hotfix.Hotfix file informationThis hotfix contains only those files that are required to correct the issues in this article. This hotfix may not contain all the files that you must have to fully update a product to the latest build.The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel. Date Time Version Size File name ------------------------------------------------------------------------ 02-Jul-2004 23:44 2000.80.957.0 664,128 Autoplt.dll 03-Jul-2004 00:00 2000.80.957.0 78,400 Console.exe 03-Jul-2004 00:15 2000.80.957.0 315,968 Custtask.dll 02-Jul-2004 23:44 2000.80.957.0 33,340 Dbmslpcn.dll 08-Apr-2004 21:42 786,432 Distmdl.ldf 08-Apr-2004 21:42 2,359,296 Distmdl.mdf 10-Oct-2003 18:48 180 Drop_repl_hotfix.sql 03-Jul-2004 00:12 2000.80.957.0 1,905,216 Dtspkg.dll 03-Jul-2004 00:23 2000.80.957.0 528,960 Dtspump.dll 03-Jul-2004 00:28 2000.80.957.0 1,557,052 Dtsui.dll 03-Jul-2004 00:27 2000.80.957.0 639,552 Dtswiz.dll 10-Oct-2003 18:48 747,927 Instdist.sql 10-Oct-2003 18:48 1,581 Inst_repl_hotfix.sql 03-Jul-2004 01:25 2000.80.957.0 352,828 Isqlw.exe 03-Jul-2004 00:25 2000.80.957.0 82,492 Itwiz.exe 02-Jul-2004 23:43 2000.80.957.0 90,692 Msgprox.dll 19-May-2004 23:43 8.11.40209.0 209,408 Mssdi98.dll 02-Jul-2004 23:45 2000.80.957.0 62,024 Odsole70.dll 03-Jul-2004 00:30 2000.80.957.0 25,144 Opends60.dll 02-Jul-2004 23:45 2000.80.957.0 57,904 Osql.exe 03-Jul-2004 00:17 2000.80.957.0 279,104 Pfutil80.dll 10-Oct-2003 18:37 550,780 Procsyst.sql 08-Apr-2004 21:42 12,305 Qfe469315.sql 08-Apr-2004 21:42 19,195 Qfe469571.sql 03-Jul-2004 02:32 1,105,167 Replmerg.sql 02-Jul-2004 23:53 2000.80.957.0 221,768 Replprov.dll 02-Jul-2004 23:55 2000.80.957.0 307,784 Replrec.dll 02-Jul-2004 23:46 2000.80.957.0 159,813 Replres.rll 10-Oct-2003 18:48 1,087,150 Replsys.sql 10-Oct-2003 18:48 986,603 Repltran.sql 02-Jul-2004 23:59 2000.80.957.0 287,304 Rinitcom.dll 03-Jul-2004 01:21 2000.80.957.0 78,416 Sdiclnt.dll 02-Jul-2004 23:33 2000.80.957.0 66,112 Semmap.dll 02-Jul-2004 23:37 2000.80.957.0 57,916 Semnt.dll 03-Jul-2004 00:20 2000.80.957.0 492,096 Semobj.dll 03-Jul-2004 00:16 2000.80.957.0 172,032 Semobj.rll 02-Jul-2004 23:52 2000.80.957.0 53,832 Snapshot.exe 12-Mar-2004 03:10 117,834 Sp3_serv_uni.sql 02-Jul-2004 23:38 2000.80.957.0 28,672 Sqlagent.dll 02-Jul-2004 23:42 2000.80.957.0 311,872 Sqlagent.exe 02-Jul-2004 23:54 2000.80.957.0 168,001 Sqlakw32.dll 03-Jul-2004 01:26 2000.80.957.0 33,344 Sqlctr80.dll 03-Jul-2004 00:22 2000.80.957.0 4,215,360 Sqldmo.dll 02-Jul-2004 23:54 25,172 Sqldumper.exe 02-Jul-2004 23:34 2000.80.957.0 28,672 Sqlevn70.rll 03-Jul-2004 00:00 2000.80.957.0 180,792 Sqlmap70.dll 03-Jul-2004 00:25 2000.80.957.0 188,992 Sqlmmc.dll 03-Jul-2004 00:23 2000.80.957.0 479,232 Sqlmmc.rll 03-Jul-2004 00:20 2000.80.957.0 401,984 Sqlqry.dll 02-Jul-2004 23:57 2000.80.957.0 57,920 Sqlrepss.dll 03-Jul-2004 01:26 2000.80.957.0 7,512,640 Sqlservr.exe 02-Jul-2004 23:35 2000.80.957.0 590,396 Sqlsort.dll 02-Jul-2004 23:58 2000.80.957.0 45,644 Sqlvdi.dll 02-Jul-2004 23:57 2000.80.957.0 106,588 Sqsrvres.dll 02-Jul-2004 23:44 2000.80.957.0 33,340 Ssmslpcn.dll 02-Jul-2004 23:45 2000.80.957.0 82,492 Ssnetlib.dll 03-Jul-2004 00:29 2000.80.957.0 25,148 Ssnmpn70.dll 02-Jul-2004 23:59 2000.80.957.0 123,456 Stardds.dll 03-Jul-2004 00:00 2000.80.957.0 158,240 Svrnetcn.dll 03-Jul-2004 00:00 2000.80.957.0 76,416 Svrnetcn.exe 03-Jul-2004 00:03 2000.80.957.0 53,808 Ums.dll 03-Jul-2004 01:31 2000.80.957.0 98,872 Xpweb70.dll STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Microsoft SQL Server 2000 Service Pack 4. MORE INFORMATIONStack informationWhen the access violation exception occurs, you may notice a stack dump file that is similar to the following:* Short Stack Dump * 00407FF7 Module(sqlservr+00007FF7) (CompareStringWEnglishNoCase+0000005D) * 0040A1AB Module(sqlservr+0000A1AB) (CTypeInfo::ICompareEnglishNoCaseW+00000023) * 00407E15 Module(sqlservr+00007E15) (qualkey+000002F8) * 0044FAA7 Module(sqlservr+0004FAA7) (EvaluateFilterArgs+000000E6) * 00406345 Module(sqlservr+00006345) (SDES::GetBiDi+00000654) * 00409FEA Module(sqlservr+00009FEA) (CSysScan::FGetNext+0000007F) * 00409B9B Module(sqlservr+00009B9B) (CSysScan::StartScan+00000163) * 0054A697 Module(sqlservr+0014A697) (CIndexScan::FFindByName+0000018F) * 0056A528 Module(sqlservr+0016A528) (CCvtTree::PdrgGetIndexHint+000000C6) * 00473E7D Module(sqlservr+00073E7D) (CCvtTree::PexprBaseTable+0000011B) * 0046214D Module(sqlservr+0006214D) (CCvtTree::PexprBuildFrom+000003DE) * 004B1DB9 Module(sqlservr+000B1DB9) (CCvtTree::PexprFromSubqueryPred+000000C2) * 00490982 Module(sqlservr+00090982) (CCvtTree::PexprFromScalar+000003CE) * 00491EAD Module(sqlservr+00091EAD) (CCvtTree::PexprFromLogical+00000050) * 004909AE Module(sqlservr+000909AE) (CCvtTree::PexprFromScalar+00000299) * 0051B0AB Module(sqlservr+0011B0AB) (CCvtTree::PexprBuildSelect+000000B1) * 00461F62 Module(sqlservr+00061F62) (CCvtTree::PexprFromCmdlist+000002DC) * 00461841 Module(sqlservr+00061841) (CCvtTree::PexprFromTree+00000156) * 0046156F Module(sqlservr+0006156F) (CCvtTree::PqryFromTree+0000024C) * 0046133A Module(sqlservr+0006133A) (BuildQueryFromTree+00000046) * 005994AF Module(sqlservr+001994AF) (CFetchPopulate::CompileQuery+00000087) * 0059C042 Module(sqlservr+0019C042) (CFetchKeyset::Compile+0000009F) * 005986D6 Module(sqlservr+001986D6) (CFetchComponent::smInitializeFetchComponent+00000167) * 0058089A Module(sqlservr+0018089A) (CCursorDeclareStmt::Init+000003E1) * 00583B8E Module(sqlservr+00183B8E) (CompileCursor+00000274) * 005E3BD1 Module(sqlservr+001E3BD1) (CCompPlan::FCompileStep+00000BE4) * 0044CA52 Module(sqlservr+0004CA52) (CProchdr::FCompile+00000D23) * 0041B598 Module(sqlservr+0001B598) (CSQLSource::FTransform+0000034C) * 0044F575 Module(sqlservr+0004F575) (CSQLStrings::FTransform+000001A1) * 0041AF66 Module(sqlservr+0001AF66) (CSQLSource::Execute+0000015B) * 005F2C1A Module(sqlservr+001F2C1A) (SpPrepExec+00000313) * 0059435E Module(sqlservr+0019435E) (SPCursor::CursorExecPrepExec+0000005D) * 00594591 Module(sqlservr+00194591) (SPCursor::PrepExec+0000002D) * 005F4089 Module(sqlservr+001F4089) (CSpecProc::ExecuteSpecial+000000B3) * 005F45E2 Module(sqlservr+001F45E2) (CSpecProc::Execute+000000B6) * 00616154 Module(sqlservr+00216154) (execrpc+000004A6) * 00437128 Module(sqlservr+00037128) (execute_rpc+00000019) * 0042921A Module(sqlservr+0002921A) (process_commands+00000232) * 41072838 Module(UMS+00002838) (ProcessWorkRequests+00000272) * 410725B3 Module(UMS+000025B3) (ThreadStartRoutine+00000098) * 78008454 Module(MSVCRT+00008454) (endthread+000000C1) * 7C57438B Module(KERNEL32+0000438B) (TlsSetValue+000000F0) REFERENCESFor more information about the index hints in SQL Server 2000 , see the "FROM" topic in SQL Server Books Online. For additional information about the naming schema for Microsoft SQL Server updates, click the following article number to view the article in the Microsoft Knowledge Base: 822499
(http://support.microsoft.com/kb/822499/
)
New naming schema for Microsoft SQL Server software update packages
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
824684
(http://support.microsoft.com/kb/824684/
)
Description of the standard terminology that is used to describe Microsoft software updates
APPLIES TO
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
