ultimatepp/uppsrc/MSSQL/MSSQL.h
cxl 86cb31ec51 MSSQL: IdentityInsert (bypass of IDENTITY column insertion)
git-svn-id: svn://ultimatepp.org/upp/trunk@1594 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-09-29 17:40:17 +00:00

24 lines
506 B
C++

#ifndef _MSSQL_MSSQL_h
#define _MSSQL_MSSQL_h
#include "ODBC/ODBC.h"
namespace Upp {
String MsSqlTextType(int width);
typedef ODBCSession MSSQLSession;
inline
bool MSSQLPerformScript(const String& text, StatementExecutor& executor,
Gate2<int, int> progress_canceled = false)
{
return ODBCPerformScript(text, executor, progress_canceled);
}
void IdentityInsert(Sql& sql, const SqlInsert& ins);
void IdentityInsert(const SqlInsert& ins);
};
#endif