Re: Oracle timestamp precision



I think by default time format is good only up to millisecond. However,
you can override default by explictly specifying second argument
(format) tin to_timestamp. You can search on metalink or in Oracle
manuals the exact format...

to_timestamp(arg1, 'DD/MM/YYYY HH24:MI:SSx.....')

leodippol...@xxxxxxxxx wrote:
> Hello sirs,
>
> I have this SQL statement:
>
> DELETE FROM EMODPRODUTOS
> WHERE (CdProduto = 105) AND
> (DtUltAlteracao = to_timestamp('28/09/2005 21:50:13,141233'))
>
> But it's not working........ I get:
>
> ORA-01830: date format picture ends before converting entire input
> string
>
> I need a where clause with a timestamp value with this precision...
>
> Can oracle handle this?
>
> I appreciate any information.

.



Relevant Pages

  • Re: Prepare, SQL query with to_date call
    ... SQL query with to_date call ... The Oracle ODBC driver has a problem with date parameters although I'm ... using a date format containing the RR format. ...
    (perl.dbi.users)
  • Re: Date Formats
    ... tables of SQL Server. ... I had problem in exporting these fields into Oracle. ... > I presume that the problem is that Oracle doesn't interpret the datetime values from SQL server ... > a format, hence trying to enforce a format for that datatype is meaningless. ...
    (microsoft.public.sqlserver.programming)
  • RE: Prepare, SQL query with to_date call
    ... SQL query with to_date call ... The Oracle ODBC driver has a problem with date parameters although I'm ... using a date format containing the RR format. ...
    (perl.dbi.users)
  • Re: No one could logon to productio database for a while
    ... Puget Sound Oracle Users Group ... code for script is quite simple, it does a v$sql to find all sql ... The script ask for the hash value of the SQL statement. ... col "SLAVE SQL" format A95 WORD_WRAP ...
    (comp.databases.oracle.server)
  • RE: timestamp datatype
    ... You must tell Oracle what format your DATE or TIMESTAMP data is in, ... rather than the raw Oracle DATE or TIMESTAMP format. ...
    (perl.dbi.users)