sql - Check In between two times -


I want to check in IF in sql server ..

Checking me periodically

and parm1time and paramtime2

I want to return the value if the checkin time is between param1 and param2

how can i write

Example @ Checkin = 10.00 Ultimate 1 = 2.00 Ultimate 2 = 13.00

How can I do this in SQL Query

  SELECT .... WHERE @ CHECKIN BEATWEEN @ param1 and @b2 ultimate  

or

  .... about @checkin@param1 and @complete2  

etc


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -