I've table and data as follow,
declare @tAccount table
insert into @tAccount values('true','2014-04-26 16:11:25.337',getdate())
Let's say, current data as follow,
isLocked | LastLockoutDate | currentDte
1 2014-04-26 16:11:25.337 2014-04-27 01:45:15.053
How to get different in minutes between currentDate and LastLockoutDate? Mean, currentDate - LastLockoutDate.
Really need help