
            with myvars as (
            	select localtimestamp as curdate
            )
            select
                LabLog_id as "LabLog_id",
                Error_Message as "Error_Message",
                Error_Code as "Error_Code"
            from dbo.p_LabLog_ins(
                LabLogEvn_id := '401113005311',
                LabLogType_id := '1',
                MedService_id := '400101000000855',
                Lpu_id := '1805409',
                LabLog_desc := 'Ванюшина Ольга Юрьевна (VanushinaO)',
                pmUser_id := 401113005311,
                LabLog_userIP := '10.15.253.254',
                LabLog_setDT := (select curdate from myvars)
            )
        
