-- =============================================
-- Author:		<Yonatan Gaete>
-- Create date: <30/09/2024>
-- Description:	<Seleccionar Responsable Activo Fijo>
-- Alter date:  <30/01/2025>
-- Description:	<Se agrega Rut>
-- =============================================
ALTER PROCEDURE [dbo].[sp_AfiResponsables_Sel]
(
	@id INT
)
AS
BEGIN
	SELECT
	   [id]
      ,[nombre]
      ,[correo]
      ,[telefono]
      ,[departamento]
	  ,[rut]
	  ,[dv]
	FROM afiResponsables
	WHERE (id = @id OR @id = 0)
END;