I tried to bring in CSV data using Data/Import. All columns came in except for the time related data. Some details are here: http://hodentekmsss.blogspot.com/2017/01/importing-csv-file-into-sapss-sql.html

asked 24 Mar '17, 18:02

mysorian's gravatar image

mysorian
1189913
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
12.0k396166
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
1

> 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

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:

×275
×9

question asked: 24 Mar '17, 18:02

question was seen: 1,768 times

last updated: 26 Mar '17, 12:47