I want to fetch some result from table depending on time range so i did
SELECT * FROM TABLE where convert(varchar(10),CountryTime,108) between '15:00' and '16:00'
CountryTime- is of varchar type..
but iam not getting corect output plz suggets..
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use varchar(5) instead of varchar(8)