BUG: ESQL for C Precompiler /BIND Option Builds on SELECT

Last reviewed: April 30, 1997
Article ID: Q125037

The information in this article applies to:
  • Microsoft Embedded SQL for C Programmer's Toolkit, version 4.22
BUG# ESQL-C: 9938 (4.22)

SYMPTOMS

The /BIND option on the precompiler for Microsoft Embedded SQL for C (ESQL for C) only builds the static stored procedures for SELECT queries. The /BIND option fails to create stored procedures for any data modification queries (INSERT, UPDATE, or DELETE).

CAUSE

The ESQL for C precompiler (SQLPREP.EXE and NSQLPREP.EXE) is not correctly generating the .BND output file for queries that perform data modification.

WORKAROUND

Use the /SQLACCESS option on the precompile of your ESQL for C application. If you need to transfer the stored procedures created by the precompiler to another SQL Server installation, use SQL Object Manager's schema generator to create a script file of the necessary stored procedures.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Embedded SQL for C Programmer's Toolkit version 4.22. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional query words: Windows NT
Keywords : kbprg SSrvESQL_C
Version : 4.22 | 4.22 | 4.22
Platform : MS-DOS OS/2 WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.