|
The code snippet below calculate time difference between 2 dates. I have to find the Average of the time it takes to process a few records. When I inserted the AVG word prior to the DATEDIFF, I get an error "conversion failed when converting varchar value ':' to data type int" Any idea why ? thanks
(comments are locked)
|
|
A combination of missing parentheses, and also you need to add the avg function to each datediff Whoo hoo! 40K Well done. And it was my vote that put you over. (and yes, I know, you're at 39,950, but still).
Nov 14 '12 at 11:51 PM
Grant Fritchey ♦♦
Cheers Grant! This last couple of K have been a slog..... I need to put more effort in.
Nov 15 '12 at 08:35 AM
Kev Riley ♦♦
You and me both. I keep thinking I might make 50k, but I'm not sure how.
Nov 15 '12 at 09:58 AM
Grant Fritchey ♦♦
so, after my vote you need 5pts :) Congrats Kev.
Nov 15 '12 at 12:36 PM
Fatherjack ♦♦
(comments are locked)
|

