--创建存储过程 create proc test_proc @date datetime as select * from t_user where times between ),),),),' 07:00')) and ),),),),' 22:00')) go --修改存储过程 alter proc test_1 @date datetime as ) from t_user where times between ),DATEPART(YYYY,@date)) + '-' + ),DA…