SQL: calculate hours from two dates
snippet in sql

SQL: calculate hours from two dates

user2529

DATEDIFF(second, start_date, end_date) / 3600.0