#include <dcl/Config.h>
#include <stdlib.h>
#include <time.h>
#include <ibase.h>
#include <dcl/Object.h>
#include <dcl/SQLCore.h>
#include <dcl/BytesOutputStream.h>
#include <dcl/InputStream.h>
#include <dcl/Charset.h>
#include "IBConnection.h"
#include "IBQuery.h"
#include "IBParam.h"
Go to the source code of this file.
◆ __SQLTYPE_IS
| #define __SQLTYPE_IS |
( |
| _sqltype | ) |
|
Value:((__sqltype & ~1) == _sqltype)
◆ __dataTypeName()
| const wchar_t * __dataTypeName |
( |
const XSQLVAR * | _sqlvar | ) |
|
Definition at line 211 of file IBField.cpp.
212{
213 switch(_sqlvar->sqltype & ~1) {
214 case SQL_SHORT:
215 case SQL_LONG:
216 case SQL_INT64: {
217 if (_sqlvar->sqlscale) {
218 switch (_sqlvar->sqltype & ~1) {
222 }
223 }
224 else {
225 switch (_sqlvar->sqltype & ~1) {
229 }
230 }
231 }
237#if defined(FIREBIRD_IBASE_H) && FB_API_VER >= 40
239 SQLTYPE_NAME(SQL_TIMESTAMP_TZ_EX,
"TIMESTAMP WITH TIMEZONE");
240#endif
243 case SQL_BLOB: {
244 if (_sqlvar->sqlsubtype == 1)
245 return L"BLOB(TEXT)";
246 else
247 return L"BLOB";
248 }
249 }
250 return L"Unknown Type: Driver is not Support";
251}
#define SQLTYPE_NAME(_dataType, name)
◆ __MIN()
| size_t __MIN |
( |
size_t | x, |
|
|
size_t | y ) |
|
inline |
Definition at line 327 of file IBParam.cpp.
328{
329 return x < y ? x : y;
330}
◆ IMPLEMENT_CLASSINFO()