home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
dbutil.zip
/
BUFOP.ZIP
/
COMPSQL.HPP
< prev
next >
Wrap
Text File
|
1993-09-11
|
734b
|
30 lines
#ifndef _COMPSQL_
#define _COMPSQL_
#include <istring.hpp>
#include "hostvars.hpp" // host variables
#include <sqlca.h>
#include <sql.h>
#include <sqlaprep.h>
#include <fstream.h>
//
// maintain a couple of galactic variables here which is generally not
// a great idea - but then who really cares?
//
//
// EXTERNAL INTERFACE FOR SQL COMP STUFF
//
void initSQLStuff();
void MSQLError(int lineNbr); /* monitor error only */
void SQLError(int LineNbr,ofstream & out, Boolean full);
void monitorMessage(IString const & msg);
Boolean IsSQL(IString const & theStr); // checks if the statement is an SQL command
void prepareSQL(IString & theStmt, ofstream & fout, int lineNbr);
#endif