[Q] Dates in PRO*C

From: Dale Edgar <dedgar_at_fearless.csi.nb.ca>
Date: Fri, 30 Dec 1994 17:03:25
Message-ID: <dedgar.39.00110F20_at_fearless.csi.nb.ca>


Hi All

I can't seem to get dates in or out of a table in PRO*C, although NUMBERS, VARCHARS etc all work ok.

How (ie what type) do you declare your normal C variables so that the SELECT statement can place the retrived Oracle DATE variable in it. Can time_t be used for this?

If some kind soul could post (or mail me) some snippets of code that would do as simple SELECT and a simple INSERT or UPDATE I would really appreciate it.

Thanks
Dale Edgar
Cybersmith Inc.
dedgar_at_csi.nb.ca Received on Fri Dec 30 1994 - 17:03:25 CET

Original text of this message