
            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 := '399038504044',
                TimetableGraf_id := '520101010989146',
                TimetableStac_id := NULL,
                TimetableMedService_id := NULL,
                TimetableResource_id := NULL
            )
        
