home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sun-barr!olivea!inews.Intel.COM!mipos2!kortikar
- From: kortikar@mipos2.intel.com (Aniruddha Kortikar)
- Newsgroups: comp.databases.oracle
- Subject: Re: how to insert datetime in PRO*C
- Message-ID: <By6yxD.81s@inews.Intel.COM>
- Date: 23 Nov 92 23:07:58 GMT
- References: <Bxvztx.63s@inews.Intel.COM> <2869@uswnvg.uswnvg.com>
- Sender: news@inews.Intel.COM (USENET News System)
- Organization: Intel Corporation, Santa Clara, CA USA
- Lines: 11
- Nntp-Posting-Host: mipos2
-
- One has to use
- insert into .... values :v1,:v2,todate(:v3,'mm/dd/yy hh24:mi') while preparing
- the sql statement. and NOT while executing the statement as in
-
- exec sql execute :stmt using ....,to_date(....)
-
- Aniruddha Kortikar(kortikar@mipos2.intel.com)
- -------------------------------------------------------------------------------
- E-mail : kortikar@mipos2.intel.com | A billion here, a billion there ...
- Phone(W): 408 765 5515 | pretty soon it adds upto real money.
- -------------------------------------------------------------------------------
-