Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Oracle Date Datatype and ODBC

Re: Oracle Date Datatype and ODBC

From: Bill Buchan <bbuchan_at_ossian.net>
Date: Mon, 2 Nov 1998 09:23:57 -0000
Message-ID: <71jtgj$ol7$1@phys-ma.sol.co.uk>

patrick_williams_at_my-dejanews.com wrote in message <71a1ir$5jv$1_at_nnrp1.dejanews.com>...
>Can someone give me an example of setting an Oracle Date datatype using an
>Oracle ODBC driver? I have tried setting the value using the String
>functionality but I always get an exception when I put the record.
>
>Thanks
>
>Patrick Williams
>
>

insert into table (ID,datetimefield) values (1,{ts '1998-11-02 09:13:00'})

ie format of the date field is {ts 'YYYY-MM-DD HH:MI:SS'}. But don't ask me what 'ts' stands for (time-string, maybe?)!

Received on Mon Nov 02 1998 - 03:23:57 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US