Home » Developer & Programmer » Precompilers, OCI & OCCI » how to get a columns as NUMBER(30) (oracle oci windows)
how to get a columns as NUMBER(30) [message #340711] |
Wed, 13 August 2008 21:10  |
mark.quxiao
Messages: 1 Registered: August 2008
|
Junior Member |
|
|
in my oci applications,if i get a column of number that is in the scope of int,i can use value = *(int *)field.data; get the value,but if the column size is larger than 10,the code can't be available,how can i get the value,thanks
|
|
|
|
|
|
|
|
Re: how to get a columns as NUMBER(30) [message #341116 is a reply to message #341115] |
Sat, 16 August 2008 10:51  |
vicenzo
Messages: 28 Registered: December 2007 Location: Paris
|
Junior Member |
|
|
hi Michel,
Sorry for my 'direct' answer...
I just wanted to give more details about my previous post.
Your links were good 
btw, handling all types of integers from short to long long, including signed and unsigned is always a bit tricky with OCI.
That's why with OCILIB, all of these is handled 'behind the scene' and you don't have to care about it.
You just have to get the data through the type you want.
Regards,
Vincent
[Updated on: Sat, 16 August 2008 10:52] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Fri May 02 10:41:47 CDT 2025
|