![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I'm pulling data from an access table and the column that i'm pulling from is a date/time column, but I want to represent it as numerical. The problem is, the numbers in the field represent time intervals. This is an example of the data.."12:01:06 AM" what that really means is 1 minute and 6 seconds. I can't change the data type in access table, but I want it sql server to look at it as numerical. I've parsed it, but still run into problems. Does anyone have any suggestions? |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Hi Alan, So I tried using this but it didn't work. How would you use that example with fields? Function Main() dim str dim arr str =DTSSource("CallLength") arr = SPLIT(str,":") DTSDestination("Duration")=Cint(arr(1))&Cint(arr(2 )) Main = DTSTransformStat_OK End Function |
#5
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |