Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Excel to Table load. Please help!

$
0
0

Hi,

I am loading data from a Excel into a table.

In Excel, there are two columns. They are DateOfBirth and BirthTime .The values are 01/30/2000 and 14:03 respectively.

In the Target DB table, the column names and datatypes are [DateOfBirth] date, [BirthTime] time.


The problem is, after loading , the data is in table is coming as 2000-30-01 and 14:03:00000 .

Can you please tell me how can  i change this value to 01/30/2000 and 14:03 - to look like almost like source excel.

In time, some values are like 3:10:00000 - so i cant go for LEFT function also. If I use LEFT, 16:10:0000 is coming as correctly, but 6:10:0000 is becoming NULL.

Pls help!

Thanks
Revathy





Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>