BUG: Source File with Several ESQLC Statements May Cause Access Violation in the Precompiler (295949)



The information in this article applies to:

  • Microsoft SQL Server 7.0
  • Microsoft SQL Server 2000 (all editions)

This article was previously published under Q295949
BUG #: 101467 (SQLBUGS_70)

SYMPTOMS

An Embedded SQL for C (ESQLC) source file that has several ESQL statements may cause an access violation in the nsqlprep precompiler. If the access violation (AV) occurs, you also see this compile error message:
"19051 Too many sections"

CAUSE

The source file has reached the limit of sections that nsqlprep can handle.

WORKAROUND

If the error message occurs, you must separate your source code into smaller modules.

STATUS

Microsoft has confirmed this to be a problem in SQL Server 70.
Microsoft has confirmed this to be a problem in SQL Server 2000.

Modification Type:MajorLast Reviewed:10/16/2003
Keywords:kbBug kbpending KB295949