I have an if statement that I need to alter but Im unsure of where to put the ( )'s and <>
IF (SELECT COUNT(msecs) FROM [tablename] WHERE (CONVERT(int, msecs)/1000)/3600 >2 )>=1
BEGIN ......
I need ">2" part show greater than 1 and less than 3.
Thanks for you help!
IF (SELECT COUNT(msecs) FROM [tablename] WHERE (CONVERT(int, msecs)/1000)/3600 >2 )>=1
BEGIN ......
I need ">2" part show greater than 1 and less than 3.
Thanks for you help!