| Subject | Re[2]: [firebird-support] Datatype unknown | 
|---|---|
| Author | Roland Turcan | 
| Post date | 2004-08-08T13:22:53Z | 
<<< 8.8.2004 15:21 - Martijn Tonies "m.tonies@..." >>>
MT> Hi,
MT> work?
I tied this:
ib1.SQL.Text:='select * from adresar where upperrts2(meno) starting upperrts2(cast(:MENO as varchar(256)))';
ib1.ParamByName('MENO').AsString:='Tur';
ib1.Open;
But exception is still presents. This is firebird bug?
 
--
Best regards, TRoland
http://www.rotursoft.sk
http://exekutor.rotursoft.sk
            MT> Hi,
>> I need execute this commandMT> Does MyUDF(CAST :MyParam as <yourdatatype>) (eg: VARCHAR(80) )
>>
>> "Select MyColumn from MyTable Where MyUDF(MyColumn) Starting
>> MyUDF(@MyParam)";
>>
>> or
>>
>> "Select MyColumn from MyTable Where MyColumn Starting
>> MyUDF(@MyParam)";
MT> work?
I tied this:
ib1.SQL.Text:='select * from adresar where upperrts2(meno) starting upperrts2(cast(:MENO as varchar(256)))';
ib1.ParamByName('MENO').AsString:='Tur';
ib1.Open;
But exception is still presents. This is firebird bug?
>> but this command raise exception "Data type unknown".MT> Yahoo! Groups Links
>> MyUDF is udf with replace national chars to basic ASCII and convert
>> ToUpper();
>>
>> Thank.
>>
>> --
>> Best regards, TRoland
>> http://www.rotursoft.sk
>> http://exekutor.rotursoft.sk
>>
>>
>>
>>
>>
>> Yahoo! Groups Links
>>
>>
>>
>>
--
Best regards, TRoland
http://www.rotursoft.sk
http://exekutor.rotursoft.sk