Results 1 to 3 of 3

Thread: nsqlprep

  1. #1
    Join Date
    Apr 2004

    Unanswered: nsqlprep

    I'm using Microsoft SQL server and have a very simple test c program with embedded sql, but cannot get the sql precompiler (nsqlprep) to run.

    I have set the correct environment variables for the c compiler and the location of the include files, but always receive the error (at the end of this message - lcc is the name of the c compiler) in the c program output by nsqlprep, at which point the precompiler exits.

    I'm only using one c include file <stdio.h> and whether I include it with or without the path name, or leave it out altogether I always get the same error.

    The information in the T-SQL and the internet is not helpful.


    Error message from nsqlprep

    lcc preprocessor error: c:\history\test_embedsql1.sqc:1 Syntax error in #include
    Installation problem
    Please enter the path for the <include> header files (for example c:\lcc\include)

  2. #2
    Join Date
    Aug 2002
    What is the version of SQL used and its service pack level?
    --Satya SKJ
    Microsoft SQL Server MVP

  3. #3
    Join Date
    Apr 2004

    sql server version

    select @@version gives:

    Microsoft SQL Server 2000 - 8.00.194 (Intel X86)
    Aug 6 2000 00:57:48
    Copyright (c) 1988-2000 Microsoft Corporation
    Personal Edition on Windows NT 5.0 (Build 2195: Service Pack 4)


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts