Re: installing ncoci8 in BDS2006
- From: jacodeguy@xxxxxxxxx
- Date: 31 Mar 2006 07:22:01 -0800
Yes, I did have to make changes, in NCOciDB, about line 1722, I had to
add a few more types to the dt2ot variable:
Something Like:
dt2ot: array [TFieldType] of TOCIVarDataType = (
otUnknown, otString, otSmallInt, otInteger, otInteger,
otUnknown, otFloat,
otBCD, otBCD, otDateTime, otDateTime, otDateTime, otRaw, otRaw,
otInteger, otLongRaw, otLong, otUnknown, otUnknown, otUnknown,
otUnknown,
otUnknown, otCursor
{$IFDEF OCI_D4}
, otChar, otUnknown, otInteger, otUnknown, otUnknown,
otUnknown, otNestedDataSet
{$ENDIF}
{$IFDEF OCI_D5}
, otBLOB, otCLOB, otUnknown, otUnknown, otUnknown, otUnknown
{$ENDIF}
{$IFDEF OCI_D6}
, otUnknown, otUnknown
{$ENDIF}
, otUnknown, otUnknown, otUnknown, otUnknown
);
I cant get prepared queries to work. Is something like this possible:
q.sql.text := 'select * from atable where id = :id';
q.prepare;
q.params[0].asVariant := 42;
q.open;
I get an error on .open saying the param is of unknown type. anyone
run across this?
-Andy
.
- References:
- installing ncoci8 in BDS2006
- From: Roy Nielsen
- Re: installing ncoci8 in BDS2006
- From: jacodeguy
- installing ncoci8 in BDS2006
- Prev by Date: Re: Best versioning software for small teams
- Next by Date: Re: Big tables Setup
- Previous by thread: Re: installing ncoci8 in BDS2006
- Next by thread: ANN: MM Code Explorer 4.05 released - new navigation features
- Index(es):