
            with myvars as (
                select dbo.tzgetdate() as curtime
            )
            select
                error_code as "Error_Code",
                error_message as "Error_Msg"
            from dbo.p_TimetableLock_block(
                pmUser_id := '388169827394',
                TimetableGraf_id := '520101009969446',
                TimetableStac_id := NULL,
                TimetableMedService_id := NULL,
                TimetableResource_id := NULL
            )
        
