[Kamailio-Devel] reading information of data_type DOUBLE using sqlops and unixodbc

hans at onsmail.nl hans at onsmail.nl
Sat Dec 27 13:32:28 CET 2008


Alex,

Thanks for your response, using the cast function solved my problem.

Regards

-Hans

> Can't the double be cast as a string somehow in the query?
>
> hans at onsmail.nl wrote:
>
>> Hi,
>>
>> I'm trying to read data from an external database (MS SQL) using sqlops
>> and db_unixodbc which is working fine for data_types INTEGER and STRING.
>> But i'm looking for a way of reading DOUBLE data_type data (currency
>> information). Is there a way of doing this (so that the DOUBLE
>> information
>> is presented as string) ?
>>
>> Thanks
>> -Hans
>>
>>
>> _______________________________________________
>> Devel mailing list
>> Devel at lists.kamailio.org
>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/devel
>
>
> --
> Alex Balashov
> Evariste Systems
> Web    : http://www.evaristesys.com/
> Tel    : (+1) (678) 954-0670
> Direct : (+1) (678) 954-0671
> Mobile : (+1) (678) 237-1775
>





More information about the Devel mailing list