Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在表开始时间和结束时间中有两列。我想根据时间进行搜索。我以以下格式保存了开始时间和结束时间
14:57:44
使用Convert(varchar(20),Getdate(),108)
Convert(varchar(20),Getdate(),108)
请帮我。
select * from your_table where cast(time_column as time) between '10:00:00' and '11:00:00'