|
// SQLSynVal.h: interface for the CSQLSyntaxValidator class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_SQLSYNVAL_H__C53593A6_4640_4C2C_A158_1A20BF03223A__INCLUDED_)
#define AFX_SQLSYNVAL_H__C53593A6_4640_4C2C_A158_1A20BF03223A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <afxdb.h>
#include <atlbase.h>
class CSQLSyntaxValidator
{
public:
CSQLSyntaxValidator();
virtual ~CSQLSyntaxValidator();
protected:
static BOOL Check(CDatabase *pDb,HSTMT &hstmt,RETCODE nRetCode);
public:
static BOOL VerifySQL(CDatabase *pDb,CString szSQL,CString &szError);
};
#endif // !defined(AFX_SQLSYNVAL_H__C53593A6_4640_4C2C_A158_1A20BF03223A__INCLUDED_)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.