Bug (?) in nsqlprep.exe (SQLServer 2000) -
07-03-2004
, 06:55 PM
I ran into a couple of minor problems in compiling ESQL with SQL2K
(evaluation), and wanted to know if others had found a fix.
1) With MSVC more recent than VC6, there is a problem with the _W64
macro in stdio.h. The SQL preprocessor gives quite a few error messages
and produces a truncated C source. A workaround is to add
#define _W64
before
#include <stdio.h>
in the ESQL source.
2) Creation of an SQL view with an embedded SQL statement in C is
accepted during plain preprocessing by nsqlprep, but not if one chooses
nsqlprep xx.sqc /SQLACCESS /DB xxxx\yyyy.ddd /PASS xx.yy
N. Shamsundar
University of Houston |