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

Home -> Community -> Usenet -> c.d.o.server -> Re: Problems to set the HS_NLS_TIMESTAMP_FORMAT parameter

Re: Problems to set the HS_NLS_TIMESTAMP_FORMAT parameter

From: Frank van Bortel <frank.van.bortel_at_gmail.com>
Date: Fri, 23 Dec 2005 21:17:39 +0100
Message-ID: <dohlcv$2f4$1@news6.zwoll1.ov.home.nl>


patrick_at_gwiasda.de wrote:
> Hi,
>
> I have an Database Link over ODBC and have Problems to get the fraction
> of the seconds from the remote database.
> I found in the help of Oracle that the Timesstamp is affected by the
> HS_NLS_TIMESTAMP_FORMAT parameter.
>
> I Have set
>
> HS_NLS_TIMESTAMP_FORMAT = yyyy-mm-dd hh:mi:ss.ff
> HS_FDS_CONNECT_INFO = XXXXXXXX
> HS_FDS_TRACE_LEVEL = 9
>
> in my initXXXXXX.ora but this parameter gives me an error if I try to
> test the link.
>
>
> Any Hints ?
>
>
> mfg
>
> Patrick Gwiasda
>

Format MASK.. so, quotes required?
HS_NLS_TIMESTAMP_FORMAT = 'yyyy-mm-dd hh:mi:ss.ff' And timestamps usually come in millisecs, microsecs or nanosecs, the formats would be 'yyyy-mm-dd hh:mi:ss.ff3', 'yyyy-mm-dd hh:mi:ss.ff6', and 'yyyy-mm-dd hh:mi:ss.ff9', respectively. 'yyyy-mm-dd hh:mi:ss.ff6' is the default for a timestamp, ie, datatype timestamp == timestamp(6).

-- 
Regards,
Frank van Bortel

Top-posting is one way to shut me up...
Received on Fri Dec 23 2005 - 14:17:39 CST

Original text of this message

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