How to write current time into Oracle with Pro*c?
From: Min Wang <mwang_at_colorbank.com>
Date: 1996/10/31
Message-ID: <32790079.41C6_at_colorbank.com>#1/1
Date: 1996/10/31
Message-ID: <32790079.41C6_at_colorbank.com>#1/1
Hi,
I want to write current date into Oracle with Pro*c.
When I test the following codes alone, it was OK. But when I tried
insert them into a Pro*c program, it got problem. Does any one know how
to do in right way?
I use SGI indy with IRIX 5.3.
#include <stdio.h>
#include <time.h>
main(){
time_t now;
time(&now);
printf("%s",ctime(&now));
}
Thank you.
-- Min Wang E-mail: mwang_at_colorbank.com http://www.colorbank.com/Received on Thu Oct 31 1996 - 00:00:00 CET