home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases.oracle
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!jvnc.net!nmr1!fogelinc
- From: fogelinc@nmr1.Cyanamid.COM (Carl Fogelin)
- Subject: Re: ? How do I declare a structure...
- Message-ID: <1992Dec30.183813.29783@tigger.jvnc.net>
- Sender: news@tigger.jvnc.net (Zee News Genie)
- Nntp-Posting-Host: nmr1.pt.cyanamid.com
- Reply-To: fogelinc@nmr1.Cyanamid.COM
- Organization: American Cyanamid Company
- References: <1992Dec30.054617.3077@kodak.kodak.com>
- Date: Wed, 30 Dec 1992 18:38:13 GMT
- Lines: 28
-
- In article 3077@kodak.kodak.com, deal@tempus.Kodak.Com (Stephen M. Deal) writes:
- >
- >I don't have my manuals with me (I'm at home) and I am trying to get
- >some embedded SQL C code (a.k.a. Pro*C) to precompile. I am not sure
- >that the manuals would answer this one anyway so I have turned to the
- >net for help.
- >
- >I have declared a structure into which a record should be retrieved:
-
- I hate to tell you this Steve, but PRO*C does not support the use of structures.
- It states on page 1-6 of the PRO*C Supplement (V1.3)
-
- You cannot declare a host variable of type struct. Nor can you refer
- to any of the following:
-
- - names declared in typedef statements
- - symbolic constants named by the #define directive
- - previously declared structs
-
- I know it stinks, especially since VARCHARs are structs, but that's the way
- it is. :-(
-
- Carl
-
- ---------------------------------------------------------------------------
- Carl Fogelin (fogelinc@cyanamid.com) "All opinions are strictly mine"
- "Sushi! That's what my ex-wife called me. Cold fish." -- Blade Runner
-
-