PreviousDirectives and Dialects Dialog System V2.5Next

Chapter 7: Embedded SQL Toolkit

Embedded SQL Toolkit for Microsoft SQL Server cannot be used with NetExpress. Instead you should use OpenESQL, the ODBC-based Embedded SQL support in NetExpress.

This chapter lists differences in OpenESQL compared to Embedded SQL Toolkit for Microsoft SQL Server.

7.1 Summary of Changes

Compiler directives for SQL must use a new format. There is one directive SQL, which takes options equivalent to the separate directives in the Embedded SQL Toolkit. For example:

SQL(MSSQL) NOSQLDB NOSQLPASS NOSQLACCESS

becomes:

SQL(DBMAN=ODBC,TARGETDB=MSSQLSERVER,NOACCESS) 

(NODB and NOPASS are assumed by default.)

For example:

SQL(MSSQL) SQLDB(server.database)
    SQLPASS(user.pwd) SQLINIT

becomes:

SQL(DBMAN=ODBC,TARGETDB=MSSQLSERVR, DB=datasourcename.db,PASS=user.pwd,INIT=PROT)

For example:

SQL(MSSQL)SQLPROT

becomes:

SQL(DBMAN=ODBC,TARGETDB=MSSQLSERVER, INIT=PROT)

Other differences are:


Copyright © 1998 Micro Focus Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.
PreviousDirectives and Dialects Dialog System V2.5Next