Please be aware that the SAP SQL Anywhere Forum will be shut down on August 29th, 2024 when all it's content will be migrated to the SAP Community.

Prior to upgrade function DATETIME( ) could read both string time formats '1998-09-09 12:12:12.000' and '12:12:12.000 1998-09-09' After update error occurs: SQL statement failed: (-157) Cannot convert '10:06:33.0 2019/03/29' to timestamp. Changing timestamp_format (or sr_timestamp_format for replications) to 'HH:NN:SS.SSS DD-MM-YYYY' did not help. Do anyone encountered such issue?

asked 10 Apr '19, 08:52

asekritov's gravatar image

asekritov
26114
accept rate: 0%


I have confirmed this as a regression. The fix will appear in a future update. Additional test cases have been added for time before date.

permanent link

answered 10 Apr '19, 15:10

JBSchueler's gravatar image

JBSchueler
3.3k41665
accept rate: 20%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×248
×38
×28
×24

question asked: 10 Apr '19, 08:52

question was seen: 1,377 times

last updated: 10 Apr '19, 15:10