
            select Person_id as "Person_id",
                   Error_Code as "Error_Code",
                   Error_Message as "Error_Msg"
            from dbo.p_Person_upd(
                Person_id := '103796',
                Server_id := '0',
                Person_IsUnknown := NULL,
                Person_IsAnonym := NULL,
                Person_IsNotINN := NULL,
                Person_IsDead := NULL,
                BDZ_id := NULL,
                Lgot_id := NULL,
                Person_IsInErz:='2',
                ProMed_id := NULL,
                Person_Guid := '75feb3b1-a0a1-7cf1-4313-9d71cf147294',
                Person_deadDT := NULL,
                PersonCloseCause_id := NULL,
                Person_closeDT := NULL,
                Person_MaxEvnDT := '2023-07-18 07:38:22.610',
                Person_identDT := '2023-07-18 00:00:00',
                PersonIdentState_id := 4,
                Person_IsEncrypHIV := NULL,
                Person_Comment := 'супруга',
                pmUser_id := '395159328051'
            );
        
