I have to calculate the difference in hours (decimal type) between two dates in SQL Server 2008.
I couldn\'t find any useful technique to convert datetime to decimal
SELECT DATEDIFF(hh, firstDate, secondDate) FROM tableName WHERE ...