OCI SQLT_NUM and SQLT_DAT datatypes 11g
Hy,
i have a program which take a dynamic sql statement, execute it and show the values.
I used for the NUMBER datatype defined in the table's columns definitions the OCI mapping SQLT_NUM to store the number
in a C string str_out_number, in the OCIDefineByPos.
I used for the DATE datatype defined in the table's columns definitions the OCI mapping SQLT_DAT to store the date
in a C string str_out_date, in the OCIDefineByPos.
My questions are :
1) how to convert the string str_out_number to a C double (or an int) and to print it ?
I used for the NUMBER datatype defined in the table's columns definitions the OCI mapping SQLT_NUM to store the number
in a C string str_out_number, in the OCIDefineByPos.
I used for the DATE datatype defined in the table's columns definitions the OCI mapping SQLT_DAT to store the date
in a C string str_out_date, in the OCIDefineByPos.
My questions are :
1) how to convert the string str_out_number to a C double (or an int) and to print it ?
0