C-API MSCALL

Empress APIs
C-API MR Routines

C-API Embedded SQL

C-API MSCALL

ODBC Interface

JDBC Interface

HTML Hypermedia Toolkit

C++ Interface

Fortran Interface

Empress Utilities

Dev. Environments

Legacy Products

Free Trial

 

SQL commands may be embedded in a "C" program with the routine mscall. The routine mscall takes two  arguments,  the database name and the SQL command.

      mscall (database_directory, sql_command);
      

Both the database name and the SQL command are strings. The strings may be built by the application program. The routine returns zero (0) if the statement succeeds, and a non-zero value if it fails. A failure may be caused by different events such as a syntax error in the SQL command, or an invalid attribute or table name.

 

USA: (301) 220-1919     Canada & International: (905) 513-8888   Copyright © 2004. Empress Software Inc.    info@empress.com