Essayez
SELECT LTRIM(DATEDIFF(MINUTE, 0, TimeSpent))
FROM yourtable
Donné
| TIMESPENT |
-------------
| 00:12 |
| 01:05 |
| 10:00 |
Sortie :
| MINUTES |
-----------
| 12 |
| 65 |
| 600 |
Voici SQLFiddle
Essayez
SELECT LTRIM(DATEDIFF(MINUTE, 0, TimeSpent))
FROM yourtable
Donné
| TIMESPENT |
-------------
| 00:12 |
| 01:05 |
| 10:00 |
Sortie :
| MINUTES |
-----------
| 12 |
| 65 |
| 600 |
Voici SQLFiddle