I have a procedure in SQL server this procedure looks that
CREATE PROCEDURE [dbo].[p_oblicz_odleglosc_v2] @idCustomer int, @idVehicle int as select @idCustomer