Home Forums Article Discussions Article Discussions by Author Discuss content posted by Ben Kubicek What will this return? RE: What will this return?
Z.A.T
SSC Enthusiast
Points: 135
More actions
May 27, 2010 at 4:13 am
#1173211
I run solved this query then I answerd NULL, because you forget to write
select @hourDiff
in your query.
so my answer is write NULL.
if you wrote select @hourDiff at the last line then it will return 1.