Home » Developer & Programmer » Precompilers, OCI & OCCI » data type??
data type?? [message #117166] Mon, 25 April 2005 09:38 Go to next message
vinnahang
Messages: 11
Registered: March 2005
Junior Member
when using SQL Plus,
I define a varible with data type NUMBER(7)

But now, I am using Qracle Pro*C

in the declare section, I would like to new a varible which is same type with NUMBER(7),

what can i do?
Re: data type?? [message #117221 is a reply to message #117166] Mon, 25 April 2005 17:59 Go to previous messageGo to next message
Michael Hartley
Messages: 110
Registered: December 2004
Location: West Yorkshire, United Ki...
Senior Member

Hi,

I wasn't sure of the answer to your questions, so I read the online documenation at Technet.

Try: http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a97269/pc_04dat.htm#18312

I think the table "Oracle Datatype Compatibility" answers your question fully.

Kind regards,
Michael Hartley, http://www.openfieldsolutions.co.uk

Error in compilation : PCC-F-02081 [message #117251 is a reply to message #117166] Tue, 26 April 2005 01:11 Go to previous message
gcmishra
Messages: 3
Registered: April 2005
Location: aaa
Junior Member
Hi all
i am new to pro*c . when i am tryong to compile the sample programs under the ../demo/proc folder in the coomand prompt by using the following command
...\> proc iname=sample9.pc
its giving the error :PCC-F-02081, CMD-Line: Unterminated option value list or value list was truncated.

Can anyone suggest me how to proceed..

Thanks
gour
Previous Topic: how to get MAX(value)?/
Next Topic: How many records did UPDATE update?
Goto Forum:
  


Current Time: Tue Dec 17 23:07:45 CST 2024