Hi Alberto
TSQLRow class provide only string-based access to data bases, therefore you should convert values to integer or floats yourself. There is more powerful class TSQLStatement, where most data types (integers, floats, blobls) supported in their native form.
Regards,
Sergey
Alberto Pulvirenti wrote:
> Dear all,
>
> I would like to practice a bit with SQL ROOT classes, but I got a
> little bit confused about how I could read the value of a field.
> Apparently, the TSQLRow class contains a GetField() method which is a
> virtual const char*, so I don't understand how I could take integer or
> floating point values and so on.
>
> How should I do?
>
> Thanks,
>
> alberto
>
Received on Wed Sep 09 2009 - 16:12:24 CEST
This archive was generated by hypermail 2.2.0 : Wed Sep 09 2009 - 23:50:02 CEST