Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Going from 15 Minute intervals to 1 min intervals

$
0
0
I have two fields ID and Log data and log data is a 96 character long string of numbers representing 15 minute intervals from midnight to midnight. I need to convert these 96 characters to a full 1440 characters which would mean taking each of the 96 characters one by one and making 1 character into 15 I had Vb macro to do the conversion but now it's broken and I can't fix it. Getting it done in SQL would solve a lot of problems. I then go from the 1440 fields and do log analysis like total time doing a specific activity but my query is dependant on having all 1440 characters. TIA!!! Em

Viewing all articles
Browse latest Browse all 3145

Trending Articles