73 |
|
{$IFEND} |
74 |
|
{$ENDIF} |
75 |
|
|
76 |
+ |
{$IFNDEF LEGACYFIREBIRDAPIONLY} |
77 |
|
{$DEFINE USEFIREBIRD3API} |
78 |
+ |
{$ENDIF} |
79 |
+ |
{$IFNDEF FIREBIRD3APIONLY} |
80 |
|
{$DEFINE USELEGACYFIREBIRDAPI} |
81 |
+ |
{$ENDIF} |
82 |
|
|
83 |
|
{ |
84 |
|
This unit defines the interfaces used to provide the Pascal Language |
411 |
|
the output of an SQL Statement. |
412 |
|
} |
413 |
|
|
414 |
+ |
TIBDateTimeFormats = (dfTimestamp, {SQL TIMESTAMP} |
415 |
+ |
dfDateTime, {SQL DATETIME} |
416 |
+ |
dfTime); {SQL TIME} |
417 |
+ |
|
418 |
|
{ IColumnMetaData } |
419 |
|
|
420 |
|
IColumnMetaData = interface |
435 |
|
function GetSize: cardinal; |
436 |
|
function GetArrayMetaData: IArrayMetaData; {Valid only for Array SQL Type} |
437 |
|
function GetBlobMetaData: IBlobMetaData; {Valid only for Blob SQL Type} |
438 |
+ |
function GetDateTimeStrLength(DateTimeFormat: TIBDateTimeFormats): integer; |
439 |
|
property Name: AnsiString read GetName; |
440 |
|
property Size: cardinal read GetSize; |
441 |
|
property SQLType: cardinal read GetSQLType; |
920 |
|
function Prepare(transaction: ITransaction; sql: AnsiString; aSQLDialect: integer): IStatement; overload; |
921 |
|
function Prepare(transaction: ITransaction; sql: AnsiString): IStatement; overload; |
922 |
|
function PrepareWithNamedParameters(transaction: ITransaction; sql: AnsiString; |
923 |
< |
aSQLDialect: integer; GenerateParamNames: boolean=false): IStatement; overload; |
923 |
> |
aSQLDialect: integer; GenerateParamNames: boolean=false; |
924 |
> |
CaseSensitiveParams: boolean = false): IStatement; overload; |
925 |
|
function PrepareWithNamedParameters(transaction: ITransaction; sql: AnsiString; |
926 |
< |
GenerateParamNames: boolean=false): IStatement; overload; |
926 |
> |
GenerateParamNames: boolean=false; |
927 |
> |
CaseSensitiveParams: boolean = false): IStatement; overload; |
928 |
|
|
929 |
|
{Events} |
930 |
|
function GetEventHandler(Events: TStrings): IEvents; overload; |