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.

I tried to bring in CSV data using Data/Import. All columns came in except for the time related data. Some details are here:

asked 24 Mar '17, 18:02

mysorian's gravatar image

accept rate: 0%

You chose a datatype of 'time' which only stores hour, minute, second and fraction of a second; however, the data contains dates & times where all of the times were 00:00:00 which is 12:00 am as seen in the table after the load. That looks correct to me. If you want a date and time, use a TIMESTAMP.

permanent link

answered 24 Mar '17, 21:07

John%20Smirnios's gravatar image

John Smirnios
accept rate: 37%

Thank you. Microsoft does not have datastamp. I will do it again. I had a hunch that this may be the reason.

(24 Mar '17, 23:37) mysorian
Replies hidden

Yes. Timestamp is the correct data type to use. Thanks

(25 Mar '17, 20:40) mysorian

> Microsoft does not have datastamp

Microsoft SQL Server does have the datetime data type which is more-or-less the same as SQL Anywhere's timestamp.

(26 Mar '17, 08:09) Breck Carter
Your answer
toggle preview

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 24 Mar '17, 18:02

question was seen: 1,864 times

last updated: 26 Mar '17, 12:47