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

SSIS Derived Column Expression to work at time to string format

$
0
0

Hello

I have a time column in my data which I want to create a new column with a line of text for what the time is between.

So If my Column Call_Time is between 00:00 and 00:59 I want the new column to say "12am - 1am"

and if the Call_Time is between 01:00 and 01:59 I want the new column to say "1am - 2am"

and if the Call_Time is between 02:00 and 02:59 I want the new column to say "2am - 3am"

and so on.

Is this possible to do in SSIS Derived Column?

Regards

SQLSearcher99


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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