Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8143579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T13:09:21+00:00 2026-06-06T13:09:21+00:00

select to_timestamp(trunc(state_date) || ‘ ‘ || substr(state_time,1,12),’DD-MM-YYYY HH24:MI:SS:FF3’) from state_log above statement giving error

  • 0
select to_timestamp(trunc(state_date) || ' ' || substr(state_time,1,12),'DD-MM-YYYY HH24:MI:SS:FF3') 
from state_log

above statement giving error

“date format picture ends before converting entire input string” with uk nls parameters.it works in USA nls parameters.

Please advise how can i resolve this issue.

Regards,

chaitu

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T13:09:22+00:00Added an answer on June 6, 2026 at 1:09 pm

    as you said your state_date is DD-MON-YY then use

    select to_timestamp(trunc(state_date) || ' ' || substr(state_time,1,12),'DD-MON-YYYY HH24:MI:SS:FF3') 
    from state_log
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need something like: SELECT PARTITION_NAME, to_char(LONG_TO_TIMESTAMP(HIGH_VALUE), 'MM/DD/YYYY HH24:MI:SS') AS HIGH_VAL FROM USER_TAB_PARTITIONS WHERE
When I do this in oracle 10g: select to_date(trunc(SOMEINPUTdATE)) from table1 where to_date(trunc(date_column_timestamp),'MM/DD/YYYY') >=
For the query: SELECT MAX(LOG_CREATION_DATE),COL_A, COL_B FROM IMPORT_LOG GROUP BY TO_CHAR(LOG_CREATION_DATE, 'MM-DD-YYYY'), COL_A, COL_B
In a SELECT statement I want to convert values to strings ie. SELECT TO_STRING(value).
Just a quick question about using select() . I'm using select() to read from
Currently I'm using MyTimeStampField-TRUNC(MyTimeStampField) to extract the time part from a timestamp column in
I've this statement: create table times (time_in timestamp, time_out timestamp); insert into times values(to_timestamp('02-MAY-11
A SELECT without a FROM clause gets us a multiple columns without querying a
Im trying to select a timestamp range from a mysql database and im having
I have the following data SELECT T.FEED_TIME from GLRS.FEED_TYPE T 05:00:00 AM 06:00:00 AM

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.