Quantcast
Channel: User FoxInFlame - Stack Overflow
Viewing all articles
Browse latest Browse all 36

Answer by FoxInFlame for MSSQL - group the time between start/end columns by date

$
0
0

If you mean getting the time between the two "Downtime"s, you can get the values with PHP using MYSQL connection, and calculate the difference, and then delete the two rows, and replace it with a new row, with the calculated results.

$query = "DELETE FROM TaBlEnAmEhErE WHERE DTCode=2";

Viewing all articles
Browse latest Browse all 36

Trending Articles



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