title: Hour validation in SQL Server
body: <p>Can someone please tell me how can I tell the user that he must input an hour above <code>08:30h</code> and below <code>22:30h</code>? </p>
  
  <p><a href="https://i.stack.imgur.com/PbipS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PbipS.png" alt="enter image description here"></a></p>
  
  <p>This code causes an "incorrect syntax" error, and I can't move forward and I don't know why. </p>
  
  <p>I am new to SQL. Thanks a lot!!</p>