Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2638

Re: Display Timeslice

$
0
0

Hi Amit,

 

Many thanks for the reply, format is great, but after some research I managed to change it within the SQL, which for my case will be better

 

/*Dummy Character 2 - Hour interval (Timeslice)*/

trim(to_Char (date_part('Hours', FIELD),'00')||

(Case When date_part('Minutes', FIELD) > 30 then ':00' else ':00' end ) )

 

OR

 

/*Dummy Character 2 - 30 minute interval (Timeslice)*/

trim(to_Char (date_part('Hours', FIELD),'00')||

(Case When date_part('Minutes', FIELD) > 30 then ':30' else ':00' end ) )

 

But then again great help and eye opener.

 

Cheers,


Viewing all articles
Browse latest Browse all 2638

Trending Articles



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