Subject | Re: [firebird-support] Rewriting components from FreeIB |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2010-03-04T16:54:29Z |
04.03.2010 17:41, Danny García Hernández wrote:
sqltype not compatible with type of parameter from FB point of view.
--
SY, SD.
> q.SQL := 'select * from account where family<> ?family';You should find out why FSQLParams.AsXSQLDA contain XSQLVAR with
> q.Params.ByName['FAMILY'].AsString := 'FAM';
> q.Open;
> end
>
> Inside FIBQuery the ExecQuery function call this:
>
> Call(isc_dsql_execute2(StatusVector,
> TRHandle,
> @FHandle,
> 1,
> FSQLParams.AsXSQLDA,
> nil), True);
>
> And this call return a -303 error code "Incompatible column/host
> variable data type". Can someone explain what is happening or advice
> where to find posible problems?.
sqltype not compatible with type of parameter from FB point of view.
--
SY, SD.