
            with curDT as (select dbo.tzGetDate() as curDate)
            update BedState
            set BedState_endDate = '2022-03-16 00:00:00'
            where BedState_id = '500801000235826'
        
